Pagini recente » Borderou de evaluare (job #2579543) | Borderou de evaluare (job #531329) | Borderou de evaluare (job #248651) | Borderou de evaluare (job #2621194) | Borderou de evaluare (job #909356)
Borderou de evaluare (job #909356)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void DFs(int, int)’:
user.cpp:14:44: error: ‘typeof’ was not declared in this scope
#define forit(it, v) for(typeof((v).begin()) it = (v).begin(); it != (v).end(); it++)
^
user.cpp:33:2: note: in expansion of macro ‘forit’
forit(it, A[nod])
^
user.cpp:33:8: error: expected ‘;’ before ‘it’
forit(it, A[nod])
^
user.cpp:14:46: note: in definition of macro ‘forit’
#define forit(it, v) for(typeof((v).begin()) it = (v).begin(); it != (v).end(); it++)
^
user.cpp:33:8: error: ‘it’ was not declared in this scope
forit(it, A[nod])
^
user.cpp:14:64: note: in definition of macro ‘forit’
#define forit(it, v) for(typeof((v).begin()) it = (v).begin(); it != (v).end(); it++)
^
user.cpp: In function ‘int main()’:
user.cpp:53:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbpal.in", "r", stdin);
^
user.cpp:54:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbpal.out", "w", stdout);
^
user.cpp:55:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &N);
^
user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i", &x, &y);
^
user.cpp:63:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c", &lit[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 4ms | 520kb | OK | 4 | 4 |
✗ | 2 | 4ms | 516kb | OK | 4 | 4 |
✗ | 3 | 4ms | 516kb | OK | 4 | 4 |
✗ | 4 | 16ms | 532kb | OK | 4 | 4 |
✗ | 5 | 52ms | 548kb | OK | 4 | 0 |
✗ | 6 | Depăşit | 632kb | Time limit exceeded. | 0 |
✗ | 7 | 56ms | 544kb | OK | 4 |
✗ | 8 | Depăşit | 632kb | Time limit exceeded. | 0 |
✗ | 9 | Depăşit | 632kb | Time limit exceeded. | 0 | 0 |
✗ | 10 | Depăşit | 632kb | Time limit exceeded. | 0 |
✗ | 11 | Depăşit | 632kb | Time limit exceeded. | 0 |
✗ | 12 | 4ms | 520kb | OK | 4 | 4 |
✗ | 13 | 8ms | 524kb | OK | 4 | 4 |
✗ | 14 | 20ms | 536kb | OK | 4 | 4 |
✗ | 15 | 28ms | 536kb | OK | 4 | 4 |
✗ | 16 | 36ms | 540kb | Incorect | 0 | 0 |
✗ | 17 | 44ms | 544kb | OK | 4 | 4 |
✓ | 18 | Depăşit | 628kb | Time limit exceeded. | 0 | 0 |
✗ | 19 | 440ms | 604kb | Incorect | 0 |
✗ | 20 | 788ms | 640kb | Incorect | 0 |
✗ | 21 | Depăşit | 632kb | Time limit exceeded. | 0 |
✗ | 22 | Depăşit | 628kb | Time limit exceeded. | 0 |
✗ | 23 | Depăşit | 628kb | Time limit exceeded. | 0 |
✗ | 24 | Depăşit | 628kb | Time limit exceeded. | 0 | 0 |
✓ | 25 | Depăşit | 628kb | Time limit exceeded. | 0 |
Punctaj total | 0 |