Pagini recente »
Borderou de evaluare (job #712677)
Borderou de evaluare (job #712677)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:45:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
45 | if(max > 2)
| ^~
main.c:47:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
47 | t-=3;
| ^
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin,"%d%d%d%d",&m,&n,&s,&p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:21:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf(fin,"%d",&p);
| ^~~~~~~~~~~~~~~~~~~
main.c:31:44: warning: 'nrp' may be used uninitialized in this function [-Wmaybe-uninitialized]
31 | nrp++;
| ~~~^~
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
|
Incorect
|
0
|
5
|
1 ms
|
507 kb
|
Incorect
|
0
|
6
|
1 ms
|
507 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|