Job 15863

Owner
Patcas Csaba
Problem
Odd
Contest
MindCoding 2016 Round 3 (Div. 1)
Source
2.10KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'long long int f(int)':
prog.cpp:78:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if ((pow10 == 1) && ((x % 10) & 1) || pow10 > 1) 
                      ^

Results

Test numberResultTime
1Ok0.2989s
2Ok0.2897s
3Wrong answer0.2977s
Questions?

Sponsors Gold