- Owner
- Vlad Costin Alexandru
- Problem
- Red Dragon
- Contest
- MindCoding 2016 Round 1 Take Off Labs (Div. 1)
- Source
- 0.93KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'void pre()': prog.cpp:11:9: warning: unused variable 'i' [-Wunused-variable] int i,j; ^ prog.cpp: In function 'int main()': prog.cpp:34:22: warning: integer overflow in expression [-Woverflow] int ans = -(1<<31); ^ prog.cpp:37:20: warning: variable 'p2' set but not used [-Wunused-but-set-variable] int p = 2, p2 = min(p*2-1, n),add=1; ^
Results
Test number Result Time 1 Wrong answer 0.2624s