Pagini recente » Borderou de evaluare (job #476173) | Borderou de evaluare (job #1328909) | Borderou de evaluare (job #3290894) | Borderou de evaluare (job #3211678) | Borderou de evaluare (job #909411)
Borderou de evaluare (job #909411)
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:35:2: note: in expansion of macro ‘forit’
forit(it, A[nod])
^
user.cpp:35: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:35: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:74: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:75: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:76:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &N);
^
user.cpp:80: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:84: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 | 688kb | OK | 4 | 4 |
✗ | 2 | 8ms | 4140kb | OK | 4 | 4 |
✗ | 3 | 20ms | 10284kb | OK | 4 | 4 |
✗ | 4 | 56ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 5 | 56ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 6 | 56ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 7 | 80ms | 2164kb | OK | 4 |
✗ | 8 | Depăşit | 7492kb | Time limit exceeded. | 0 |
✗ | 9 | 56ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 10 | 56ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 11 | 56ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 12 | 48ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 13 | 56ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 14 | 56ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 15 | 56ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 16 | 56ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 17 | 56ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✓ | 18 | 56ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 19 | 56ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 20 | 56ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 21 | 56ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 22 | 56ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 23 | 56ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 24 | 56ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✓ | 25 | Depăşit | 7484kb | Time limit exceeded. | 0 |
Punctaj total | 0 |