Pagini recente » Borderou de evaluare (job #13604) | Borderou de evaluare (job #257170) | Borderou de evaluare (job #53232) | Borderou de evaluare (job #300424) | Borderou de evaluare (job #2443874)
Borderou de evaluare (job #2443874)
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 | 8ms | 917kb | OK | 5 |
2 | 14ms | 917kb | OK | 5 |
3 | 18ms | 917kb | OK | 5 |
4 | 177ms | 18481kb | OK | 5 |
5 | 185ms | 18481kb | OK | 5 |
6 | 149ms | 18481kb | OK | 5 |
7 | 180ms | 18612kb | OK | 5 |
8 | 183ms | 18481kb | OK | 5 |
9 | 184ms | 18481kb | OK | 5 |
10 | 174ms | 18575kb | Incorect | 0 |
11 | 155ms | 18612kb | Incorect | 0 |
12 | 152ms | 18481kb | Incorect | 0 |
13 | 146ms | 18481kb | Incorect | 0 |
14 | 145ms | 18567kb | Incorect | 0 |
15 | 128ms | 18612kb | Incorect | 0 |
16 | 130ms | 18481kb | Incorect | 0 |
17 | 153ms | 18481kb | Incorect | 0 |
18 | 153ms | 18481kb | Incorect | 0 |
19 | 159ms | 18481kb | Incorect | 0 |
20 | 167ms | 18481kb | Incorect | 0 |
Punctaj total | 45 |