Pagini recente » Borderou de evaluare (job #3154056) | Borderou de evaluare (job #356916) | Borderou de evaluare (job #1299405) | Borderou de evaluare (job #1747374) | Borderou de evaluare (job #1866451)
Borderou de evaluare (job #1866451)
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 | 276kb | OK | 4 |
2 | 0ms | 272kb | OK | 4 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 272kb | Incorect | 0 |
7 | 0ms | 268kb | Incorect | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 280kb | Incorect | 0 |
10 | 0ms | 268kb | Incorect | 0 |
11 | 0ms | 276kb | Incorect | 0 |
12 | 0ms | 272kb | Incorect | 0 |
13 | 0ms | 268kb | Incorect | 0 |
14 | 0ms | 280kb | Incorect | 0 |
15 | 0ms | 280kb | Incorect | 0 |
16 | 0ms | 272kb | Incorect | 0 |
17 | 0ms | 272kb | Incorect | 0 |
18 | 24ms | 356kb | Incorect | 0 |
19 | 120ms | 704kb | Incorect | 0 |
20 | 148ms | 804kb | Incorect | 0 |
21 | 148ms | 804kb | Incorect | 0 |
22 | 244ms | 1144kb | Incorect | 0 |
23 | 244ms | 1152kb | Incorect | 0 |
24 | Depăşit | 1928kb | Time limit exceeded. | 0 |
25 | Depăşit | 1924kb | Time limit exceeded. | 0 |
Punctaj total | 8 |