Borderou de evaluare (job #781999)

Utilizator avatar Tudor_MD Marin-Diu Tudor Tudor_MD IP ascuns
Problemă Extraprime (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 10 iul. 2024 12:14:41 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:13:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 13 | for(i = d * d;i <= b;i = i + d) | ^~~ main.cpp:15:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 15 | ciur[0] = ciur[1] = 1; | ^~~~ main.cpp:33:42: warning: 'u' may be used uninitialized [-Wmaybe-uninitialized] 33 | out << extra << endl << p << endl << u; | ^ main.cpp:9:27: note: 'u' was declared here 9 | int a, b, d, i, p = 0, u, extra = 0, p10; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 266 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 29 ms 1294 kb OK 10
8 589 ms 10227 kb OK 10
9 429 ms 7581 kb OK 10
10 599 ms 10227 kb OK 10
Punctaj total 100