Pagini recente » Borderou de evaluare (job #2880138) | Borderou de evaluare (job #1221349) | Borderou de evaluare (job #539323) | Borderou de evaluare (job #3223338) | Borderou de evaluare (job #2443868)
Borderou de evaluare (job #2443868)
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 | 11ms | 917kb | OK | 5 |
3 | 13ms | 917kb | OK | 5 |
4 | 176ms | 18481kb | OK | 5 |
5 | 152ms | 18481kb | OK | 5 |
6 | 166ms | 18468kb | OK | 5 |
7 | 161ms | 18612kb | OK | 5 |
8 | 168ms | 18481kb | OK | 5 |
9 | 168ms | 18481kb | OK | 5 |
10 | 140ms | 18481kb | Incorect | 0 |
11 | 148ms | 18481kb | Incorect | 0 |
12 | 144ms | 18612kb | Incorect | 0 |
13 | 126ms | 18481kb | Incorect | 0 |
14 | 132ms | 18481kb | Incorect | 0 |
15 | 128ms | 18481kb | Incorect | 0 |
16 | 121ms | 18481kb | Incorect | 0 |
17 | 140ms | 18481kb | Incorect | 0 |
18 | 139ms | 18481kb | Incorect | 0 |
19 | 150ms | 18481kb | Incorect | 0 |
20 | 149ms | 18481kb | Incorect | 0 |
Punctaj total | 45 |