Borderou de evaluare (job #796146)

Utilizator avatar cerneaandreea Cernea Andreea cerneaandreea IP ascuns
Problemă Concurs (clasa a 5-a) Compilator c-32
Rundă Tema 15 Clasa a 5-a Status evaluat
Dată 19 nov. 2024 19:41:04 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:30:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 30 | if(s==d); | ^~ main.c:31:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 31 | g=g+1; | ^ main.c:33:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 33 | if(d==p); | ^~ main.c:34:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 34 | e=e+1; | ^ main.c:43:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=] 43 | fprintf (fout , "%d" , "g"); | ~^ ~~~ | | | | int char * | %s main.c:44:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=] 44 | fprintf (fout , "%d" , "e"); | ~^ ~~~ | | | | int char * | %s main.c:9:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf( fin,"%d",&H); | ^~~~~~~~~~~~~~~~~~~~ main.c:10:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin ,"%d",&n); | ^~~~~~~~~~~~~~~~~~~~ main.c:19:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(fin, "%d",&a); | ^~~~~~~~~~~~~~~~~~~~ main.c:27:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf( fin,"%d",&a); | ^~~~~~~~~~~~~~~~~~~~ main.c:21:12: warning: 't' may be used uninitialized [-Wmaybe-uninitialized] 21 | t=t+1; | ~^~~~ main.c:7:27: note: 't' was declared here 7 | int H,n,p,s,m,e,i,g,d,a,t; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 109 ms 512 kb Time limit exceeded 0
2 109 ms 249 kb Time limit exceeded 0
3 109 ms 270 kb Time limit exceeded 0
4 109 ms 249 kb Time limit exceeded 0
5 109 ms 249 kb Time limit exceeded 0
6 109 ms 512 kb Time limit exceeded 0
7 109 ms 249 kb Time limit exceeded 0
8 109 ms 249 kb Time limit exceeded 0
9 109 ms 270 kb Time limit exceeded 0
10 109 ms 249 kb Time limit exceeded 0
Punctaj total 0