Pagini recente » Borderou de evaluare (job #1641305) | Borderou de evaluare (job #1840269) | Borderou de evaluare (job #456503) | Borderou de evaluare (job #762945) | Borderou de evaluare (job #2037406)
Borderou de evaluare (job #2037406)
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 | 28ms | 844kb | OK | 10 | 10 |
2 | 28ms | 876kb | OK | 10 | 10 |
3 | 96ms | 1272kb | OK | 10 | 30 |
4 | 104ms | 1276kb | OK | 10 |
5 | 156ms | 1388kb | OK | 10 |
6 | 192ms | 1700kb | OK | 10 | 50 |
7 | 432ms | 2508kb | OK | 10 |
8 | 424ms | 2552kb | OK | 10 |
9 | 436ms | 2628kb | OK | 10 |
10 | 440ms | 2628kb | OK | 10 |
Punctaj total | 100 |