Problem platonic5
User blackscreen1
Submission Time 2025-06-15 20:19:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic5.cpp: In function ‘int main()’:
platonic5.cpp:2:1: error: ‘ios_base’ has not been declared
2 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
platonic5.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin.tie(0);
| ^~~
platonic5.cpp:7:1: error: ‘vector’ was not declared in this scope
7 | vector<long long> final;
| ^~~~~~
platonic5.cpp:7:8: error: expected primary-expression before ‘long’
7 | vector<long long> final;
| ^~~~
platonic5.cpp:12:3: error: ‘final’ was not declared in this scope
12 | final.push_back(v[i]);
| ^~~~~
platonic5.cpp:15:6: error: ‘final’ was not declared in this scope
15 | sort(final.begin(), final.end(), greater<long long>());
| ^~~~~
platonic5.cpp:15:34: error: ‘greater’ was not declared in this scope
15 | sort(final.begin(), final.end(), greater<long long>());
|