Borderou de evaluare (job #1866449)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++) factorial[i]=(1LL*factorial[i-1]*i)%mod;
^
user.cpp:40:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2;i<=n+1;i++) lg[i]=lg[i/2]+1;
^
user.cpp:41:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++)
^
user.cpp:32: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:33: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:34: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 | 256kb | OK | 4 |
2 | 0ms | 256kb | OK | 4 |
3 | 0ms | 256kb | Incorect | 0 |
4 | 0ms | 256kb | Incorect | 0 |
5 | 0ms | 260kb | Incorect | 0 |
6 | 0ms | 260kb | Incorect | 0 |
7 | 0ms | 252kb | Incorect | 0 |
8 | 0ms | 260kb | Incorect | 0 |
9 | 0ms | 260kb | Incorect | 0 |
10 | 0ms | 256kb | Incorect | 0 |
11 | 0ms | 268kb | Incorect | 0 |
12 | 0ms | 268kb | Incorect | 0 |
13 | 4ms | 260kb | Incorect | 0 |
14 | 4ms | 260kb | Incorect | 0 |
15 | 4ms | 272kb | Incorect | 0 |
16 | 4ms | 264kb | Incorect | 0 |
17 | 4ms | 264kb | Incorect | 0 |
18 | 52ms | 340kb | Incorect | 0 |
19 | 264ms | 692kb | Incorect | 0 |
20 | 324ms | 792kb | Incorect | 0 |
21 | 324ms | 792kb | Incorect | 0 |
22 | Depăşit | 1048kb | Time limit exceeded. | 0 |
23 | Depăşit | 1052kb | Time limit exceeded. | 0 |
24 | Depăşit | 1528kb | Time limit exceeded. | 0 |
25 | Depăşit | 1524kb | Time limit exceeded. | 0 |
Punctaj total | 8 |