Pagini recente »
Borderou de evaluare (job #389508)
|
Borderou de evaluare (job #631129)
|
Borderou de evaluare (job #387195)
|
Borderou de evaluare (job #104652)
|
Borderou de evaluare (job #603503)
Borderou de evaluare (job #603503)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
10 | while(c = fgetc( fin )) {
| ^
main.c:11:22: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
11 | fscanf(fin,"%d",a);
| ~^ ~
| | |
| | int
| int *
main.c:12:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
12 | if(s==0)
| ^~
main.c:14:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
14 | if(c=='+')
| ^~
main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d",a);
| ^~~~~~~~~~~~~~~~~~
main.c:11:9: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
11 | fscanf(fin,"%d",a);
| ^~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
2
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
4
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
7
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
8
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
10
|
1 ms
|
131 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|