Borderou de evaluare (job #1947769)

Utilizator Tiberiu02Tiberiu Musat Tiberiu02 Data 31 martie 2017 12:17:27
Problema Rover Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 45

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50: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:20:39: note: in definition of macro ‘in’ # define in( x, a ) ( unsigned( x ) < a ) ^ user.cpp:50: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:20:39: note: in definition of macro ‘in’ # define in( x, a ) ( unsigned( x ) < a ) ^ user.cpp:76: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:20:39: note: in definition of macro ‘in’ # define in( x, a ) ( unsigned( x ) < a ) ^ user.cpp:76: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:20:39: note: in definition of macro ‘in’ # define in( x, a ) ( unsigned( x ) < a ) ^ user.cpp:26: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:30: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:35: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:58: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:62: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
10ms432kbOK5
20ms432kbOK5
30ms460kbOK5
448ms1016kbOK5
5204ms1504kbOK5
6Depăşit2372kbTime limit exceeded.0
7Depăşit3164kbTime limit exceeded.0
8Depăşit4272kbTime limit exceeded.0
9Depăşit4372kbTime limit exceeded.0
10Depăşit4416kbTime limit exceeded.0
11Depăşit4420kbTime limit exceeded.0
120ms472kbOK5
1316ms776kbOK5
14420ms1664kbOK5
15Depăşit2700kbTime limit exceeded.0
16Depăşit3488kbTime limit exceeded.0
17Depăşit2960kbTime limit exceeded.0
18Depăşit3776kbTime limit exceeded.0
19Depăşit2984kbTime limit exceeded.0
20404ms2660kbOK5
Punctaj total45

Ceva nu functioneaza?