Pagini recente » Borderou de evaluare (job #619664) | Borderou de evaluare (job #2295296) | Borderou de evaluare (job #3209264) | Borderou de evaluare (job #1489730) | Borderou de evaluare (job #916600)
Borderou de evaluare (job #916600)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:12:39: error: ‘typeof’ was not declared in this scope
#define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++)
^
user.cpp:92:9: note: in expansion of macro ‘FOR’
FOR(it, G[i]) {
^
user.cpp:92:13: error: expected ‘;’ before ‘it’
FOR(it, G[i]) {
^
user.cpp:12:41: note: in definition of macro ‘FOR’
#define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++)
^
user.cpp:92:13: error: ‘it’ was not declared in this scope
FOR(it, G[i]) {
^
user.cpp:12:56: note: in definition of macro ‘FOR’
#define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:107:37: 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:108:39: 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:110:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:113:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &x, &y);
^
user.cpp:118:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c ", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 8ms | 3536kb | Incorect | 0 | 0 |
| 2 | 8ms | 3540kb | Incorect | 0 | 0 |
| 3 | 8ms | 3548kb | Incorect | 0 | 0 |
| 4 | 8ms | 3556kb | Incorect | 0 | 0 |
| 5 | 12ms | 3576kb | Incorect | 0 | 0 |
| 6 | 256ms | 4020kb | OK | 4 |
| 7 | 72ms | 3640kb | OK | 4 |
| 8 | Depăşit | 4008kb | Time limit exceeded. | 0 |
| 9 | 20ms | 3724kb | Incorect | 0 | 0 |
| 10 | 12ms | 3676kb | Incorect | 0 |
| 11 | 92ms | 3916kb | OK | 4 |
| 12 | 12ms | 3544kb | Incorect | 0 | 0 |
| 13 | 12ms | 3552kb | Incorect | 0 | 0 |
| 14 | 8ms | 3552kb | Incorect | 0 | 0 |
| 15 | 8ms | 3556kb | Incorect | 0 | 0 |
| 16 | 12ms | 3556kb | Incorect | 0 | 0 |
| 17 | 8ms | 3564kb | Incorect | 0 | 0 |
| 18 | 48ms | 3828kb | Incorect | 0 | 0 |
| 19 | 12ms | 3620kb | Incorect | 0 |
| 20 | 12ms | 3652kb | Incorect | 0 |
| 21 | 16ms | 3688kb | Incorect | 0 |
| 22 | 16ms | 3696kb | Incorect | 0 |
| 23 | 16ms | 3708kb | Incorect | 0 |
| 24 | 20ms | 3732kb | Incorect | 0 | 0 |
| 25 | Depăşit | 4020kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |