Pagini recente » Borderou de evaluare (job #474703) | Borderou de evaluare (job #812740) | Borderou de evaluare (job #1297239) | Borderou de evaluare (job #1726441) | Borderou de evaluare (job #2037400)
Borderou de evaluare (job #2037400)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rangemode.in", "r", stdin);
^
user.cpp:35:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rangemode.out", "w", stdout);
^
user.cpp:37:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:39:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:41:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &q[i].st, &q[i].dr);
^
user.cpp:70:30: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ans[q[j].index] = index;
^
user.cpp:62:9: warning: ‘fmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (f[v[i]] > fmax) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 56ms | 844kb | Incorect | 0 | 0 |
2 | 36ms | 884kb | Incorect | 0 | 0 |
3 | 120ms | 1272kb | Incorect | 0 | 0 |
4 | 136ms | 1276kb | OK | 10 |
5 | 184ms | 1388kb | OK | 10 |
6 | 240ms | 1700kb | OK | 10 | 0 |
7 | 568ms | 2512kb | Incorect | 0 |
8 | 548ms | 2552kb | Incorect | 0 |
9 | 552ms | 2628kb | OK | 10 |
10 | 560ms | 2624kb | OK | 10 |
Punctaj total | 0 |