Borderou de evaluare (job #1866176)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++) factorial[i]=(factorial[i-1]*i)%mod;
^
user.cpp:50:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++)
^
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permheap.in","r",stdin);
^
user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permheap.out","w",stdout);
^
user.cpp:45:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 4 |
2 | 0ms | 256kb | OK | 4 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 256kb | Incorect | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 260kb | Incorect | 0 |
7 | 0ms | 260kb | Incorect | 0 |
8 | 0ms | 264kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 0ms | 260kb | Incorect | 0 |
11 | 0ms | 264kb | Incorect | 0 |
12 | 0ms | 268kb | Incorect | 0 |
13 | 4ms | 268kb | Incorect | 0 |
14 | 4ms | 268kb | Incorect | 0 |
15 | 4ms | 268kb | Incorect | 0 |
16 | 4ms | 268kb | Incorect | 0 |
17 | 4ms | 264kb | Incorect | 0 |
18 | 44ms | 336kb | Incorect | 0 |
19 | 228ms | 644kb | Incorect | 0 |
20 | 280ms | 736kb | Incorect | 0 |
21 | 280ms | 732kb | Incorect | 0 |
22 | Depăşit | 1000kb | Time limit exceeded. | 0 |
23 | Depăşit | 1008kb | Time limit exceeded. | 0 |
24 | Depăşit | 1392kb | Time limit exceeded. | 0 |
25 | Depăşit | 1392kb | Time limit exceeded. | 0 |
Punctaj total | 8 |