Submission #2382528
Source Code Expand
#include <iostream> using namespace std; int main(int argc, char *argv[]) { int A,B,K; cin >> A >> B >> K; vector<int> buf; for(int i=A; i<=B; i++) if(i < A + K || i > B-K ) cout << i << endl; }
Submission Info
Submission Time | |
---|---|
Task | B - Small and Large Integers |
User | f_ryuu_ntx |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 258 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main(int, char**)’: ./Main.cpp:13:5: error: ‘vector’ was not declared in this scope vector<int> buf; ^ ./Main.cpp:13:12: error: expected primary-expression before ‘int’ vector<int> buf; ^