Pagini recente » Borderou de evaluare (job #863917) | Borderou de evaluare (job #2379518) | Borderou de evaluare (job #55011) | Borderou de evaluare (job #96354) | Borderou de evaluare (job #2766072)
Borderou de evaluare (job #2766072)
Raport evaluator
Compilare:
main.cpp:3:0: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
#pragma GCC optimization ("O3")
main.cpp:4:0: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
#pragma GCC optimization ("unroll-loops")
main.cpp: In function 'long long int getAgg(int, int)':
main.cpp:49:19: warning: operation on 'vf1' may be undefined [-Wsequence-point]
stkMin[vf1++]={i, (vf1==0 ? 0 : stkMin[vf1-1].second) + 1LL*a[i]*(i-capStAct+1)};
~~~^~
main.cpp:57:19: warning: operation on 'vf2' may be undefined [-Wsequence-point]
stkMax[vf2++]={i, (vf2==0 ? 0 : stkMax[vf2-1].second) + 1LL*a[i]*(i-capStAct+1)};
~~~^~
main.cpp: In function 'int main()':
main.cpp:98:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(out_file, "%d\n", ans);
^
main.cpp:83:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in_file, "%d", &n);
^
main.cpp:86:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in_file, "%d", &(a[i]));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 45ms | 131kb | Incorect | 0 | 0 |
| 2 | 45ms | 131kb | Incorect | 0 |
| 3 | 1692ms | 524kb | Incorect | 0 | 0 |
| 4 | 1723ms | 393kb | Incorect | 0 |
| 5 | 3651ms | 524kb | Incorect | 0 | 0 |
| 6 | 3624ms | 524kb | Incorect | 0 |
| 7 | 2393ms | 524kb | Incorect | 0 | 0 |
| 8 | 2375ms | 524kb | Incorect | 0 |
| 9 | 4149ms | 602kb | Incorect | 0 | 0 |
| 10 | 4887ms | 602kb | Incorect | 0 |
| Punctaj total | 0 |