Borderou de evaluare (job #782108)

Utilizator avatar Tudor_MD Marin-Diu Tudor Tudor_MD IP ascuns
Problemă Cyber (clasa 5-6) Compilator cpp-32
Rundă Nerdvana SummerCamps - Ed2 - 1 Status evaluat
Dată 11 iul. 2024 10:48:20 Scor 47

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:76:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 76 | for(i = d * d;i <= b;i = i + d) | ^~~ main.cpp:78:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 78 | ciur[0] = ciur[1] = 1; | ^~~~ main.cpp:74:22: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 74 | for(d = 2;d * d <= x;d++){ | ~~~~~~^~~~ main.cpp:9:24: note: 'x' was declared here 9 | int n, a, b, i, d, x, c, dif, dif1, dif2, ok = 1; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 507 kb a) OK; b) rezultat incorect 7
3 2 ms 245 kb OK 10
4 1009 ms 249 kb Time limit exceeded 0
5 1 ms 245 kb a) rezultat incorect; b) rezultat incorect 0
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb a) rezultat incorect; b) rezultat incorect 0
9 1 ms 507 kb a) rezultat incorect; b) rezultat incorect 0
10 8 ms 2600 kb Memory limit exceeded 0
Punctaj total 47