Borderou de evaluare (job #807910)

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:57:52 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:13:6: error: 'int_fast32_t' was not declared in this scope 13 | pair<int_fast32_t,int_fast32_t> v[10002]; | ^~~~~~~~~~~~ main.cpp:13:19: error: 'int_fast32_t' was not declared in this scope 13 | pair<int_fast32_t,int_fast32_t> v[10002]; | ^~~~~~~~~~~~ main.cpp:13:31: error: template argument 1 is invalid 13 | pair<int_fast32_t,int_fast32_t> v[10002]; | ^ main.cpp:13:31: error: template argument 2 is invalid main.cpp:14:1: error: 'int_fast32_t' does not name a type 14 | int_fast32_t height[10002],mst[10002],mdr[10002]; | ^~~~~~~~~~~~ main.cpp:15:7: error: 'int_fast32_t' was not declared in this scope 15 | stack<int_fast32_t> st; | ^~~~~~~~~~~~ main.cpp:15:19: error: template argument 1 is invalid 15 | stack<int_fast32_t> st; | ^ main.cpp:15:19: error: template argument 2 is invalid main.cpp: In function 'void reset()': main.cpp:19:15: error: request for member 'empty' in 'st', which is of non-class type 'int' 19 | while(!st.empty()) | ^~~~~ main.cpp:20:12: error: request for member 'pop' in 'st', which is of non-class type 'int' 20 | st.pop(); | ^~~ main.cpp: In function 'int main()': main.cpp:29:5: error: 'int_fast32_t' was not declared in this scope 29 | int_fast32_t 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 30 | fin>>n>>m>>z; | ^ main.cpp:30:16: error: 'z' was not declared in this scope 30 | fin>>n>>m>>z; | ^ main.cpp:31:21: error: expected ';' before 'i' 31 | for(int_fast32_t i=1; i<=z; i++) | ^~ | ; main.cpp:31:27: error: 'i' was not declared in this scope 31 | for(int_fast32_t i=1; i<=z; i++) | ^ main.cpp:35:17: error: expected ';' before 'k' 35 | int_fast32_t k=1; | ^~