Problem platonic2
User superG
Submission Time 2025-07-30 15:54:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic2.cpp: In function ‘int main()’:
platonic2.cpp:12:2: error: ‘vector’ was not declared in this scope
12 | vector<int> a;
| ^~~~~~
platonic2.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include <iostream>
+++ |+#include <vector>
2 | #define int long long
platonic2.cpp:2:13: error: expected primary-expression before ‘long’
2 | #define int long long
| ^~~~
platonic2.cpp:12:9: note: in expansion of macro ‘int’
12 | vector<int> a;
| ^~~
platonic2.cpp:14:25: error: ‘N’ was not declared in this scope
14 | for (int i = 0; i < N; ++i){
| ^
platonic2.cpp:15:16: error: ‘a’ was not declared in this scope
15 | cin >> a[i];
| ^
platonic2.cpp:18:7: error: ‘a’ was not declared in this scope
18 | s