Pagini recente » Borderou de evaluare (job #1415230) | Borderou de evaluare (job #3030762) | Borderou de evaluare (job #2374375) | Borderou de evaluare (job #196934) | Borderou de evaluare (job #2443871)
Borderou de evaluare (job #2443871)
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 | 166ms | 18612kb | OK | 5 |
5 | 147ms | 18481kb | OK | 5 |
6 | 166ms | 18481kb | OK | 5 |
7 | 187ms | 18481kb | OK | 5 |
8 | 185ms | 18481kb | OK | 5 |
9 | 177ms | 18481kb | OK | 5 |
10 | 162ms | 18481kb | Incorect | 0 |
11 | 156ms | 18481kb | Incorect | 0 |
12 | 151ms | 18481kb | Incorect | 0 |
13 | 145ms | 18481kb | Incorect | 0 |
14 | 138ms | 18481kb | Incorect | 0 |
15 | 144ms | 18481kb | Incorect | 0 |
16 | 124ms | 18481kb | Incorect | 0 |
17 | 151ms | 18481kb | Incorect | 0 |
18 | 165ms | 18481kb | Incorect | 0 |
19 | 160ms | 18481kb | Incorect | 0 |
20 | 172ms | 18481kb | Incorect | 0 |
Punctaj total | 45 |