Submission #168571
Source Code Expand
#include <iostream> #include <vector> #include <stack> #include <queue> #include <algorithm> #include <string> #include <bitset> #include <map> #include <cstdio> #include <cstdlib> #include <cmath> #include <sstream> #include <fstream> #include <tuple> #include <set> #include <functional> #include <string.h> //#include <assert.h> //#include <typeinfo.h> #include <time.h> #define X first #define Y second #define MP make_pair #define MT make_tuple #define FOR(i, n) for(int (i) = 0; (i) < (n); (i)++) #define REP(i, a, n) for(int (i) = (a); (i) < (n); (i)++) typedef long long ll; typedef std::pair<int, int> pii; typedef std::pair<ll, ll > pll; using namespace std; const int INIT_SIZE_MAX = (1 << 29) + 10; const int INIT_SIZE_MIN = -(1 << 29) - 10; const int INIT_SIZE = 0; const int MAX = 5; const int ANS_SIZE = 100; const double PI = 3.1415926535897932384; template<class T, class U> void convert(T &t, U &u){ stringstream ss; ss << t; ss >> u; } int main(){ int n, m; cin >> n >> m; cout << m - n + 1 << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - アルバム |
User | keny30827 |
Language | C++ (G++ 4.6.4) |
Score | 0 |
Code Size | 1091 Byte |
Status | CE |
Compile Error
In file included from /usr/include/c++/4.6/tuple:35:0, from ./Main.cpp:14: /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.