Pagini recente » Borderou de evaluare (job #1574647) | Borderou de evaluare (job #1281048) | Borderou de evaluare (job #2817657) | Borderou de evaluare (job #272802) | Borderou de evaluare (job #1957026)
Borderou de evaluare (job #1957026)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ( in( t.x + dx[i], n ) && in( t.y + dy[i], n ) )
^
user.cpp:27:39: note: in definition of macro ‘in’
# define in( x, a ) ( unsigned( x ) < a )
^
user.cpp:60:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ( in( t.x + dx[i], n ) && in( t.y + dy[i], n ) )
^
user.cpp:27:39: note: in definition of macro ‘in’
# define in( x, a ) ( unsigned( x ) < a )
^
user.cpp:89:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ( in( t.x + dx[i], n ) && in( t.y + dy[i], n ) )
^
user.cpp:27:39: note: in definition of macro ‘in’
# define in( x, a ) ( unsigned( x ) < a )
^
user.cpp:89:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ( in( t.x + dx[i], n ) && in( t.y + dy[i], n ) )
^
user.cpp:27:39: note: in definition of macro ‘in’
# define in( x, a ) ( unsigned( x ) < a )
^
user.cpp:33:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &p );
^
user.cpp:37:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d", &n, &g );
^
user.cpp:42:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &nr );
^
user.cpp:68:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &n );
^
user.cpp:72:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &mat[i][j] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 5 |
2 | 0ms | 448kb | OK | 5 |
3 | 0ms | 476kb | OK | 5 |
4 | 4ms | 912kb | OK | 5 |
5 | 12ms | 1132kb | OK | 5 |
6 | 20ms | 1316kb | OK | 5 |
7 | 64ms | 1860kb | OK | 5 |
8 | 208ms | 5164kb | OK | 5 |
9 | 216ms | 3104kb | OK | 5 |
10 | 268ms | 3176kb | OK | 5 |
11 | 288ms | 3912kb | OK | 5 |
12 | 0ms | 488kb | OK | 5 |
13 | 0ms | 792kb | OK | 5 |
14 | 20ms | 1872kb | OK | 5 |
15 | 20ms | 1684kb | OK | 5 |
16 | 92ms | 4640kb | OK | 5 |
17 | 96ms | 4812kb | OK | 5 |
18 | 148ms | 8080kb | OK | 5 |
19 | 116ms | 5196kb | OK | 5 |
20 | 76ms | 3916kb | OK | 5 |
Punctaj total | 100 |