Olimpiada

Taškai: 0

Compile: FAIL

olimpiada.cpp: In function ‘void add(std::vector<int>&, int)’: olimpiada.cpp:11:43: error: ‘upper_bound’ was not declared in this scope a.insert(upper_bound(a.begin(),a.end(),x),x); ^ olimpiada.cpp: In function ‘int main()’: olimpiada.cpp:31:36: error: ‘reverse’ was not declared in this scope reverse(a[i].begin(),a[i].end()); ^

nr.resulttimemessage