- Owner
- Badea Adrian Catalin
- Problem
- Byte Trains
- Contest
- MindCoding 2016 Round 3 (Div. 1)
- Source
- 0.61KB
- Result
- Accepted
Compiler output
prog.cpp: In function 'int main()': prog.cpp:10:18: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[8010]' [-Wformat=] scanf("%s",&s); ^ prog.cpp:18:25: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] if (s[k]!='0'!=0) { ^
Results
Test number Result Time 1 Ok 0.2607s 2 Ok 0.2640s 3 Ok 0.2596s 4 Ok 0.2726s 5 Ok 0.2622s 6 Ok 0.2643s 7 Ok 0.2597s 8 Ok 0.2643s 9 Ok 0.2672s