Pagini recente » Borderou de evaluare (job #1366696) | Borderou de evaluare (job #3023289) | Borderou de evaluare (job #1741484) | Borderou de evaluare (job #3023284) | Borderou de evaluare (job #2443882)
Borderou de evaluare (job #2443882)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("produse.in", "r",stdin);
^
main.cpp:11:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("produse.out", "w",stdout);
^
main.cpp:13:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &d);
^
main.cpp:16:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:26:36: warning: iteration 19 invokes undefined behavior [-Waggressive-loop-optimizations]
comb[i][j]=(comb[i-1][j]+comb[i-1][j-1])%mod;
~~~~~~~~~~~^
main.cpp:25:19: note: within this loop
for(j=1; j<=20; j++)
~^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 7ms | 917kb | OK | 5 |
| 2 | 14ms | 917kb | OK | 5 |
| 3 | 17ms | 917kb | OK | 5 |
| 4 | 184ms | 18481kb | OK | 5 |
| 5 | 177ms | 18481kb | OK | 5 |
| 6 | 173ms | 18481kb | OK | 5 |
| 7 | 190ms | 18481kb | OK | 5 |
| 8 | 185ms | 18481kb | OK | 5 |
| 9 | 187ms | 18481kb | OK | 5 |
| 10 | 163ms | 18481kb | Incorect | 0 |
| 11 | 158ms | 18481kb | Incorect | 0 |
| 12 | 154ms | 18481kb | Incorect | 0 |
| 13 | 153ms | 18481kb | Incorect | 0 |
| 14 | 146ms | 18481kb | Incorect | 0 |
| 15 | 113ms | 18481kb | Incorect | 0 |
| 16 | 108ms | 18481kb | Incorect | 0 |
| 17 | 153ms | 18481kb | Incorect | 0 |
| 18 | 146ms | 18481kb | Incorect | 0 |
| 19 | 133ms | 18481kb | Incorect | 0 |
| 20 | 160ms | 18481kb | Incorect | 0 |
| Punctaj total | 45 |