Borderou de evaluare (job #807909)

Utilizator avatar AndreiEsteNebun Mateescu Andrei AndreiEsteNebun IP ascuns
Problemă Dreptunghi 1 (baraj gimnaziu) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 4 feb. 2025 16:56:48 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:7:13: error: 'int_fast32_t' was not declared in this scope 7 | #define int int_fast32_t | ^~~~~~~~~~~~ main.cpp:14:6: note: in expansion of macro 'int' 14 | pair<int,int> v[10002]; | ^~~ main.cpp:7:13: error: 'int_fast32_t' was not declared in this scope 7 | #define int int_fast32_t | ^~~~~~~~~~~~ main.cpp:14:10: note: in expansion of macro 'int' 14 | pair<int,int> v[10002]; | ^~~ main.cpp:14:13: error: template argument 1 is invalid 14 | pair<int,int> v[10002]; | ^ main.cpp:14:13: error: template argument 2 is invalid main.cpp:7:13: error: 'int_fast32_t' does not name a type 7 | #define int int_fast32_t | ^~~~~~~~~~~~ main.cpp:15:1: note: in expansion of macro 'int' 15 | int height[10002],mst[10002],mdr[10002]; | ^~~ main.cpp:7:13: error: 'int_fast32_t' was not declared in this scope 7 | #define int int_fast32_t | ^~~~~~~~~~~~ main.cpp:16:7: note: in expansion of macro 'int' 16 | stack<int> st; | ^~~ main.cpp:16:10: error: template argument 1 is invalid 16 | stack<int> st; | ^ main.cpp:16:10: error: template argument 2 is invalid main.cpp: In function 'void reset()': main.cpp:20:15: error: request for member 'empty' in 'st', which is of non-class type 'int' 20 | while(!st.empty()) | ^~~~~ main.cpp:21:12: error: request for member 'pop' in 'st', which is of non-class type 'int' 21 | st.pop(); | ^~~ main.cpp: In function 'int main()': main.cpp:7:13: error: 'int_fast32_t' was not declared in this scope 7 | #define int int_fast32_t | ^~~~~~~~~~~~ main.cpp:29:5: note: in expansion of macro 'int' 29 | int n,m,z; | ^~~ main.cpp:30:10: error: 'n' was not declared in this scope 30 | fin>>n>>m>>z; | ^ main.cpp:30:13: error: 'm' was not declared in this scope