Job 18141

Owner
Rica Radu Leonard - DISQUALIFIED
Problem
Zombie
Contest
MindCoding 2017 Round 1 (Div. 1)
Source
1.30KB
Result
Accepted

Compiler output

prog.cpp: In function 'int deranj(int)':
prog.cpp:8:27: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int dm2 = 0, dm1 = 1, d;
                           ^
prog.cpp: In function 'int main()':
prog.cpp:73:37: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int rez = (1LL * stirling(n, m) * deranj(m)) % MOD;
                                     ^

Results

Test numberResultTime
1Ok0.2671s
2Ok0.2541s
3Ok0.2512s
4Ok0.2463s
5Ok0.2922s
6Ok0.3602s
7Ok0.2886s
8Ok0.2789s
9Ok0.3311s
10Ok0.5103s
11Ok0.2493s
12Ok0.7746s
13Ok0.9160s
14Ok0.4154s
15Ok0.6088s
16Ok0.8713s
17Ok0.5962s
18Ok0.3307s
19Ok0.2933s
20Ok1.1774s
Questions?

Sponsors Gold