Borderou de evaluare (job #716220)

Utilizator avatar Tudor_Matei Holota Tudor Matei Tudor_Matei IP ascuns
Problemă Bizar (clasele 9-10) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 22 apr. 2023 17:37:42 Scor 40

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 33 | auto [num, _] = stk.top(); | ^ main.cpp:45:10: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 45 | auto [num, args] = stk.top(); | ^ main.cpp:53:27: warning: comparison of integer expressions of different signedness: 'std::stack<std::pair<int, std::vector<int> > >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 53 | while (stk.size() < k) { | ~~~~~~~~~~~^~~ main.cpp:54:18: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' 54 | auto [num, args] = stk.top(); | ^ main.cpp:56:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 56 | for (int j = 0; j < args.size(); ++j) { | ~~^~~~~~~~~~~~~ main.cpp:61:13: warning: unused variable 'index' [-Wunused-variable] 61 | int index = num % k; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb OK 10
5 1 ms 245 kb Incorect 0
6 1 ms 774 kb OK 10
7 1 ms 774 kb Incorect 0
8 1 ms 770 kb OK 10
9 1 ms 770 kb Incorect 0
10 1 ms 770 kb OK 10
Punctaj total 40