Pagini recente » Borderou de evaluare (job #1870577) | Borderou de evaluare (job #1542687) | Borderou de evaluare (job #1857752) | Borderou de evaluare (job #2295103) | Borderou de evaluare (job #2245770)
Borderou de evaluare (job #2245770)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&q);
^
user.cpp:51:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[i]);
^
user.cpp:55:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&queries[i].l,&queries[i].r);
^
user.cpp:94:23: warning: ‘best’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ans[queries[i].id] = best;
~~~~~~~~~~~~~~~~~~~^~~~~~
user.cpp:71:17: warning: ‘dr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fr[v[++dr]]++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 20ms | 1228kb | OK | 10 | 10 |
2 | 20ms | 1296kb | OK | 10 | 10 |
3 | 72ms | 1768kb | OK | 10 | 30 |
4 | 88ms | 1764kb | OK | 10 |
5 | 132ms | 1920kb | OK | 10 |
6 | 156ms | 2312kb | OK | 10 | 50 |
7 | 352ms | 3164kb | OK | 10 |
8 | 348ms | 3244kb | OK | 10 |
9 | 348ms | 3392kb | OK | 10 |
10 | 356ms | 3392kb | OK | 10 |
Punctaj total | 100 |