Submission #322554
Source Code Expand
#include<iostream> #include<cstdio> #include<cstring> #include<string> #include<cctype> #include<cstdlib> #include<algorithm> #include<bitset> #include<vector> #include<list> #include<deque> #include<queue> #include<map> #include<set> #include<stack> #include<cmath> #include<sstream> #include<fstream> #include<iomanip> #include<ctime> #include<complex> #include<functional> #include<climits> #include<cassert> #include<iterator> #include<array> #include<tuple> #include<hash_map> #include<hash_set> #include<valarray> #include<forward_list> #include<unordered_map> #include<unordered_set> using namespace std; int n; int x; int main(){ cin >> n; cin >> x; int kari = x * 540; kari += (n - x) * 525; cout << kari << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - プレミアム会員 |
User | Kmcode |
Language | C++ (G++ 4.6.4) |
Score | 0 |
Code Size | 783 Byte |
Status | CE |
Compile Error
In file included from /usr/include/c++/4.6/array:35:0, from ./Main.cpp:26: /usr/include/c++/4.6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options. In file included from /usr/include/c++/4.6/backward/hash_map:61:0, from ./Main.cpp:28: /usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]