Pagini recente » Pswap | Borderou de evaluare (job #2886108) | Borderou de evaluare (job #1351149) | Borderou de evaluare (job #1938938) | Borderou de evaluare (job #1866063)
Borderou de evaluare (job #1866063)
Raport evaluator
Compilare:
user.cpp: In function ‘int LCA(int, int)’:
user.cpp:46:9: warning: unused variable ‘lca’ [-Wunused-variable]
int lca = minh(rmq[lgg][pa], rmq[lgg][pb - (1 << lgg) + 1]);
^
user.cpp:47:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:70:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxdist.in", "r", stdin);
^
user.cpp:71:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxdist.out", "w", stdout);
^
user.cpp:74:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &Q);
^
user.cpp:78:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:99:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2828kb | Incorect | 0 |
| 2 | 4ms | 2864kb | Incorect | 0 |
| 3 | 4ms | 2972kb | Incorect | 0 |
| 4 | 4ms | 2988kb | Incorect | 0 |
| 5 | 200ms | 22208kb | Incorect | 0 |
| 6 | 200ms | 20996kb | Incorect | 0 |
| 7 | 212ms | 21620kb | Incorect | 0 |
| 8 | 236ms | 22940kb | Incorect | 0 |
| 9 | 220ms | 21336kb | Incorect | 0 |
| 10 | 188ms | 21368kb | Incorect | 0 |
| 11 | 244ms | 22556kb | Incorect | 0 |
| 12 | 216ms | 21152kb | Incorect | 0 |
| 13 | 232ms | 21332kb | Incorect | 0 |
| 14 | 388ms | 32932kb | Incorect | 0 |
| 15 | 520ms | 42472kb | Incorect | 0 |
| 16 | 476ms | 40672kb | Incorect | 0 |
| 17 | 516ms | 41592kb | Incorect | 0 |
| 18 | 480ms | 40772kb | Incorect | 0 |
| 19 | 524ms | 42564kb | Incorect | 0 |
| 20 | 432ms | 45400kb | Incorect | 0 |
| Punctaj total | 0 |