Borderou de evaluare (job #603447)

Utilizator avatar daria_diaconu Diaconu Daria daria_diaconu IP ascuns
Problemă Numchar (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 12 aug. 2021 09:36:41 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:14:18: warning: comparison of constant '122' with boolean expression is always true [-Wbool-compare] 14 | if('a'<=c<='z'||'A'<=c<='Z') | ^~ main.c:14:15: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] 14 | if('a'<=c<='z'||'A'<=c<='Z') | ~~~^~~ main.c:14:31: warning: comparison of constant '90' with boolean expression is always true [-Wbool-compare] 14 | if('a'<=c<='z'||'A'<=c<='Z') | ^~ main.c:14:28: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] 14 | if('a'<=c<='z'||'A'<=c<='Z') | ~~~^~~ main.c:16:23: warning: comparison of constant '57' with boolean expression is always true [-Wbool-compare] 16 | else if('0'<=c<='9') | ^~ main.c:16:20: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] 16 | else if('0'<=c<='9') | ~~~^~~ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0
6 1 ms 131 kb Incorect 0
7 1 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 21 ms 131 kb Incorect 0
10 28 ms 131 kb Incorect 0
Punctaj total 0