Pagini recente » Borderou de evaluare (job #1220734) | Borderou de evaluare (job #713518) | Borderou de evaluare (job #860362) | Borderou de evaluare (job #3279283) | Borderou de evaluare (job #2494306)
Borderou de evaluare (job #2494306)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:38: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);
^
main.cpp:39: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);
^
main.cpp:40:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
main.cpp:43:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:49:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
main.cpp:59:14: warning: iteration 100005 invokes undefined behavior [-Waggressive-loop-optimizations]
fv[j]=0;
~~~~~^~
main.cpp:58:21: note: within this loop
for(int j=0; j<=NMAX; j++)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 37ms | 786kb | OK | 10 | 10 |
| 2 | 45ms | 786kb | OK | 10 | 10 |
| 3 | 119ms | 1179kb | OK | 10 | 30 |
| 4 | 145ms | 1310kb | OK | 10 |
| 5 | 200ms | 1572kb | OK | 10 |
| 6 | 225ms | 1703kb | OK | 10 | 50 |
| 7 | 453ms | 2883kb | OK | 10 |
| 8 | 505ms | 2883kb | OK | 10 |
| 9 | 566ms | 2883kb | OK | 10 |
| 10 | 528ms | 3014kb | OK | 10 |
| Punctaj total | 100 |