Borderou de evaluare (job #730196)

Utilizator avatar MarcSion Sion Marc Andrei MarcSion IP ascuns
Problemă Magic 2 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 29 aug. 2023 11:19:28 Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:27:16: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 27 | if(n%10>=cifmax) | ~~~~^~~~~~~~ main.cpp:59:20: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare] 59 | if(n%10>=cifmax && p != pm) | ~~~~^~~~~~~~ main.cpp:71:13: warning: 'pm2' may be used uninitialized [-Wmaybe-uninitialized] 71 | if(q == pm2 + 1) | ^~ main.cpp:54:22: note: 'pm2' was declared here 54 | int cifmax2, pm2; | ^~~ main.cpp:66:11: warning: 'cifmax2' may be used uninitialized [-Wmaybe-uninitialized] 66 | a = cifmax2 * 10; | ~~^~~~~~~~~~~~~~ main.cpp:54:13: note: 'cifmax2' was declared here 54 | int cifmax2, pm2; | ^~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb OK 10
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 70