Pagini recente » Borderou de evaluare (job #204134) | Borderou de evaluare (job #2453284) | Borderou de evaluare (job #3316104) | Borderou de evaluare (job #2844559) | Borderou de evaluare (job #1604780)
Borderou de evaluare (job #1604780)
Raport evaluator
Compilare:
user.cpp: In function ‘bool rob(short int)’:
user.cpp:69:38: warning: right operand of comma operator has no effect [-Wunused-value]
po.x = c[ind].x-ln+1,po.x;
^
user.cpp:70:38: warning: right operand of comma operator has no effect [-Wunused-value]
po.y = c[ind].y-ln+1,po.y;
^
user.cpp: In function ‘int main()’:
user.cpp:118:17: warning: unused variable ‘crr’ [-Wunused-variable]
int crr = 1;
^
user.cpp:94:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d %d %d", &p2, &n, &m, &t);
^
user.cpp:97:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &c[i].x, &c[i].y);
^
user.cpp:107:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &ts);
^
user.cpp:114:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &q);
^
user.cpp:117:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &ts);
^
user.cpp: In function ‘bool rob(short int)’:
user.cpp:35:32: warning: ‘po.poz::x’ is used uninitialized in this function [-Wuninitialized]
po.x += max(c[ls].x-ln+1,0);
^
user.cpp:36:32: warning: ‘po.poz::y’ is used uninitialized in this function [-Wuninitialized]
po.y += max(c[ls].y-ln+1,0);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK | 5 |
| 2 | 0ms | 440kb | OK | 5 |
| 3 | 0ms | 444kb | OK | 5 |
| 4 | 0ms | 440kb | Incorect | 0 |
| 5 | 0ms | 444kb | Incorect | 0 |
| 6 | 0ms | 444kb | Incorect | 0 |
| 7 | 4ms | 448kb | Incorect | 0 |
| 8 | 4ms | 440kb | Incorect | 0 |
| 9 | 4ms | 444kb | Incorect | 0 |
| 10 | 8ms | 440kb | Incorect | 0 |
| 11 | 0ms | 436kb | Incorect | 0 |
| 12 | 8ms | 440kb | Incorect | 0 |
| 13 | 28ms | 440kb | Incorect | 0 |
| 14 | Depăşit | 424kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 428kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 428kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 428kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 432kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 432kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 428kb | Time limit exceeded. | 0 |
| Punctaj total | 15 |