Pagini recente » Borderou de evaluare (job #439836) | Borderou de evaluare (job #1587562) | Borderou de evaluare (job #461059) | Borderou de evaluare (job #3249904) | Borderou de evaluare (job #1544152)
Borderou de evaluare (job #1544152)
Raport evaluator
Compilare:
user.cpp: In function ‘int algorithm(int)’:
user.cpp:13:9: warning: variable ‘auxiliaryColor’ set but not used [-Wunused-but-set-variable]
int auxiliaryColor = 0, currentColor, position3, position;
^
user.cpp: In function ‘int main()’:
user.cpp:72:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("starcity.in" ,"r", stdin );
^
user.cpp:73:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("starcity.out","w", stdout);
^
user.cpp:75:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &N);
^
user.cpp:78:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &vector1[i]);
^
user.cpp:85:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &vector2[i]);
^
user.cpp: In function ‘int algorithm(int)’:
user.cpp:21:50: warning: ‘position’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (vector1[position] == vector2[position]) {
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 1064kb | Invalid move! | 0 | 0 |
✗ | 2 | 0ms | 1060kb | Invalid sequence! | 0 | 0 |
✗ | 3 | 0ms | 1064kb | Invalid move! | 0 | 0 |
✗ | 4 | 0ms | 1060kb | Invalid sequence! | 0 | 0 |
✗ | 5 | 0ms | 1060kb | Invalid move! | 0 | 0 |
✗ | 6 | 0ms | 1064kb | Invalid move! | 0 | 0 |
✓ | 7 | 0ms | 1072kb | Invalid move! | 0 | 0 |
✗ | 8 | 0ms | 1068kb | Invalid move! | 0 | 0 |
✗ | 9 | 4ms | 1096kb | Invalid move! | 0 | 0 |
✗ | 10 | 4ms | 1104kb | Invalid move! | 0 | 0 |
✗ | 11 | 12ms | 1192kb | Invalid move! | 0 | 0 |
✗ | 12 | 16ms | 1256kb | Invalid move! | 0 | 0 |
✗ | 13 | 60ms | 1700kb | Invalid move! | 0 | 0 |
✗ | 14 | 68ms | 1868kb | Invalid move! | 0 | 0 |
✗ | 15 | 100ms | 2032kb | Invalid move! | 0 | 0 |
✗ | 16 | 140ms | 2664kb | Invalid move! | 0 | 0 |
✗ | 17 | 136ms | 2700kb | Invalid move! | 0 | 0 |
✓ | 18 | 152ms | 3000kb | Invalid move! | 0 | 0 |
✗ | 19 | 148ms | 2996kb | Invalid move! | 0 |
✗ | 20 | 152ms | 2996kb | Invalid move! | 0 |
Punctaj total | 0 |