Borderou de evaluare (job #733877)

Utilizator avatar S_Oleg Oleg Sirbu S_Oleg IP ascuns
Problemă Dvorak (clasa a 10-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 28 sept. 2023 10:19:28 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:79:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 79 | for(j=s;j<=d;j++) | ^~~ main.cpp:83:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 83 | c=fgetc(fin); | ^ main.cpp:27:30: warning: unused variable 'x' [-Wunused-variable] 27 | int q,i,j,s,d,cnt=1,t,nr=0,x,t2,t3,YES=0,NO=0; | ^ main.cpp:27:35: warning: unused variable 't3' [-Wunused-variable] 27 | int q,i,j,s,d,cnt=1,t,nr=0,x,t2,t3,YES=0,NO=0; | ^~ main.cpp:27:44: warning: unused variable 'NO' [-Wunused-variable] 27 | int q,i,j,s,d,cnt=1,t,nr=0,x,t2,t3,YES=0,NO=0; | ^~ main.cpp:43:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fscanf(fin,"%d",&q); | ~~~~~~^~~~~~~~~~~~~ main.cpp:77:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | fscanf(fin,"%d%d",&s,&d); | ~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:33:15: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations] 33 | qwerty[i]=c; | ~~~~~~~~~^~ main.cpp:31:12: note: within this loop 31 | for(i=1;i<=26;i++){ | ~^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 11 0
2 1 ms 249 kb Killed by Signal 11 0
3 1 ms 249 kb Killed by Signal 11 0
4 2 ms 249 kb Killed by Signal 11 0
5 1 ms 249 kb Killed by Signal 11 0
6 1 ms 249 kb Killed by Signal 11 0
7 1 ms 249 kb Killed by Signal 11 0
8 1 ms 249 kb Killed by Signal 11 0
9 2 ms 249 kb Killed by Signal 11 0
10 1 ms 249 kb Killed by Signal 11 0
Punctaj total 0