Problem eeducation
User YunQingOng
Submission Time 2026-06-23 15:51:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp: In function ‘int main()’:
eeducation.cpp:19:21: error: ‘class std::vector<long long int>’ has no member named ‘pushback’; did you mean ‘push_back’?
19 | fin.pushback(C);
| ^~~~~~~~
| push_back
eeducation.cpp:23:34: error: ‘greatest’ was not declared in this scope
23 | sort(fin.begin(), fin.end(), greatest<long long>());
| ^~~~~~~~
eeducation.cpp:23:43: error: expected primary-expression before ‘long’
23 | sort(fin.begin(), fin.end(), greatest<long long>());
| ^~~~
eeducation.cpp:26:30: error: expected ‘;’ before ‘}’ token
26 | cout << fin[i] << " "
| ^
| ;
27 | }
| ~