From bd5de06d068d7e1cf357a0cbb60f5c02df6bf20b Mon Sep 17 00:00:00 2001 From: Ren Baoshuo Date: Thu, 15 Oct 2020 20:01:34 +0800 Subject: [PATCH] P4413 [COCI2006-2007#2] R2 R39857615 --- problem/P4413/P4413.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 problem/P4413/P4413.cpp diff --git a/problem/P4413/P4413.cpp b/problem/P4413/P4413.cpp new file mode 100644 index 00000000..e3db650e --- /dev/null +++ b/problem/P4413/P4413.cpp @@ -0,0 +1,10 @@ +#include + +using namespace std; + +int main() { + int s, r1; + cin >> r1 >> s; + cout << s * 2 - r1 << endl; + return 0; +}