Judge Information

Run ID: 143863
src.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
src.cpp: In function 'int main()':
src.cpp:6:5: error: 'ifstream' was not declared in this scope
ifstream f1("GHEPHINH.INP");
^
src.cpp:7:5: error: 'ofstream' was not declared in this scope
ofstream f2("GHEPHINH.OUT");
^
src.cpp:8:5: error: 'f1' was not declared in this scope
f1 >> n;
^
src.cpp:10:5: error: 'vector' was not declared in this scope
vector<long long int> a(1000000000);
^
src.cpp:10:12: error: expected primary-expression before 'long'
vector<long long int> a(1000000000);
^
src.cpp:20:23: error: 'a' was not declared in this scope
else if ( a[x] == 0)
^
src.cpp:23:13: error: 'a' was not declared in this scope
a[x] ++;
^
src.cpp:26:5: error: 'f2' was not declared in this scope
f2 << *max_element( a.begin(), a.end()) + r << endl << dem;
^
src.cpp:26:25: error: 'a' was not declared in this scope
f2 << *max_element( a.begin(), a.end()) + r << endl << dem;
^
src.cpp:26:43: error: 'max_element' was not declared in this scope
f2 << *max_element( a.begin(), a.end()) + r << endl << dem;
^
src.cpp:26:52: error: 'endl' was not declared in this scope
f2 << *max_element( a.begin(), a.end()) + r << endl << dem;
^