Borderou de evaluare (job #793957)

Utilizator avatar davidmaioru Maioru David Andrei davidmaioru IP ascuns
Problemă Cuvinte (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 10 nov. 2024 14:30:33 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 14 | if((s>='0' && s<='9') ||(s>='A' && s<='z')) | ^~ main.cpp:16:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 16 | if((s==' ' || s==',' || s=='.') && ok==0) | ^~ main.cpp:16:45: warning: 'ok' may be used uninitialized [-Wmaybe-uninitialized] 16 | if((s==' ' || s==',' || s=='.') && ok==0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ main.cpp:11:15: note: 'ok' was declared here 11 | int cnt=0,ok; | ^~
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 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 9 ms 245 kb Incorect 0
9 99 ms 507 kb OK 10
10 99 ms 266 kb Incorect 0
Punctaj total 20