Job 15651

Owner
Lup Vasile
Problem
Byte Trains
Contest
MindCoding 2016 Round 3 (Div. 1)
Source
0.50KB
Result
Accepted

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:24:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if(s[i] == '1') if(nr>0) ok=false;
           ^

Results

Test numberResultTime
1Ok0.2642s
2Ok0.2807s
3Ok0.2688s
4Ok0.2605s
5Ok0.2791s
6Ok0.2774s
7Ok0.2684s
8Ok0.2555s
9Ok0.2626s
Questions?

Sponsors Gold