Pagini recente »
Borderou de evaluare (job #490166)
|
Borderou de evaluare (job #720156)
|
Borderou de evaluare (job #229906)
|
Borderou de evaluare (job #105735)
|
Borderou de evaluare (job #615417)
Borderou de evaluare (job #615417)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
9 | fscanf( fin, "%d", H );
| ~^ ~
| | |
| | int
| int *
main.c:10:20: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
10 | fscanf( fin, "%d", n );
| ~^ ~
| | |
| | int
| int *
main.c:15:28: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
15 | fscanf( fin, "%d", b );
| ~^ ~
| | |
| | int
| int *
main.c:16:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
16 | if ( b = H ) {
| ^
main.c:24:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
24 | if ( H / 100 % 10 && H / 10 % 10 == b / 100 % 10 && b / 10 % 10 )
| ^~
main.c:26:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
26 | i = i + 1;
| ^
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf( fin, "%d", H );
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf( fin, "%d", n );
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:15:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf( fin, "%d", b );
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:9:5: warning: 'H' is used uninitialized in this function [-Wuninitialized]
9 | fscanf( fin, "%d", H );
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:10:5: warning: 'n' is used uninitialized in this function [-Wuninitialized]
10 | fscanf( fin, "%d", n );
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:15:13: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
15 | fscanf( fin, "%d", b );
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:25:22: warning: 'npsh' may be used uninitialized in this function [-Wmaybe-uninitialized]
25 | npsh = npsh + 1;
| ~~~~~^~~~~~~~~~
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
|
2 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
|