Pagini recente » Borderou de evaluare (job #867789) | Borderou de evaluare (job #2786502) | Borderou de evaluare (job #867793) | Borderou de evaluare (job #1926707) | Borderou de evaluare (job #916549)
Borderou de evaluare (job #916549)
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void df(int, hashKey, hashKey)’:
user.cpp:9: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:53:5: note: in expansion of macro ‘FOR’
FOR(i, G[x]) {
^
user.cpp:53:9: error: expected ‘;’ before ‘i’
FOR(i, G[x]) {
^
user.cpp:9:41: note: in definition of macro ‘FOR’
#define FOR(i, v) for(typeof(v.begin()) i = v.begin(); i != v.end(); i++)
^
user.cpp:53:9: error: ‘i’ was not declared in this scope
FOR(i, G[x]) {
^
user.cpp:9: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:62: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:63: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:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:68: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:73: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 | 4ms | 476kb | OK | 4 | 4 |
| 2 | 4ms | 468kb | OK | 4 | 4 |
| 3 | 4ms | 472kb | OK | 4 | 4 |
| 4 | 16ms | 492kb | OK | 4 | 4 |
| 5 | 56ms | 520kb | OK | 4 | 0 |
| 6 | Depăşit | 648kb | Time limit exceeded. | 0 |
| 7 | 60ms | 520kb | OK | 4 |
| 8 | Depăşit | 644kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 648kb | Time limit exceeded. | 0 | 0 |
| 10 | Depăşit | 652kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 648kb | Time limit exceeded. | 0 |
| 12 | 4ms | 476kb | OK | 4 | 4 |
| 13 | 8ms | 476kb | OK | 4 | 4 |
| 14 | 20ms | 504kb | OK | 4 | 4 |
| 15 | 28ms | 500kb | OK | 4 | 4 |
| 16 | 36ms | 508kb | OK | 4 | 4 |
| 17 | 44ms | 516kb | OK | 4 | 4 |
| 18 | Depăşit | 644kb | Time limit exceeded. | 0 | 0 |
| 19 | 532ms | 608kb | OK | 4 |
| 20 | 940ms | 656kb | OK | 4 |
| 21 | Depăşit | 648kb | Time limit exceeded. | 0 |
| 22 | Depăşit | 652kb | Time limit exceeded. | 0 |
| 23 | Depăşit | 644kb | Time limit exceeded. | 0 |
| 24 | Depăşit | 644kb | Time limit exceeded. | 0 | 0 |
| 25 | Depăşit | 644kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |