- Owner
- Badea Adrian Catalin
- Problem
- Byte Trains
- 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.2567s 2 Ok 0.2578s 3 Ok 0.2584s 4 Ok 0.2642s 5 Ok 0.2595s 6 Ok 0.2592s 7 Ok 0.2572s 8 Ok 0.2596s 9 Ok 0.2583s