Pagini recente » Borderou de evaluare (job #525455) | Borderou de evaluare (job #2515071) | Borderou de evaluare (job #2200667) | Borderou de evaluare (job #1542548) | Borderou de evaluare (job #2400862)
Borderou de evaluare (job #2400862)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:52:16: warning: operation on 'fact[i]' may be undefined [-Wsequence-point]
fact[i]=fact[i]=(fact[i-1]*i)%MOD;
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:63:44: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=]
printf("%d\n",(1LL*dp[x]*comb(k,x))%MOD);
^
main.cpp:43:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("xnumere.in","r",stdin);
^
main.cpp:44:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("xnumere.out","w",stdout);
^
main.cpp:46:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&k,&x,&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | OK | 5 |
4 | 4ms | 131kb | Incorect | 0 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 4ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 5ms | 131kb | Incorect | 0 |
9 | 1000ms | 131kb | Time limit exceeded | 0 |
10 | 6ms | 131kb | Incorect | 0 |
11 | 1003ms | 131kb | Time limit exceeded | 0 |
12 | 5ms | 131kb | Incorect | 0 |
13 | 239ms | 131kb | Incorect | 0 |
14 | 34ms | 131kb | Incorect | 0 |
15 | 34ms | 131kb | Incorect | 0 |
16 | 91ms | 131kb | Incorect | 0 |
17 | 1000ms | 131kb | Time limit exceeded | 0 |
18 | 1002ms | 786kb | Time limit exceeded | 0 |
19 | 1003ms | 131kb | Time limit exceeded | 0 |
20 | 1001ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 5 |