- Owner
- Balanescu Rosana
- Problem
- Byte Trains
- Contest
- MindCoding 2016 Round 3 (Div. 1)
- Source
- 0.50KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'int main()': prog.cpp:20:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (nrz>0 && index<strlen(s)) ^ prog.cpp:11:9: warning: unused variable 'l' [-Wunused-variable] int l=s[0]-'0'; //1 - loco, 0 -car ^ prog.cpp:18:9: warning: unused variable 'nrloco' [-Wunused-variable] int nrloco=0; ^
Results
Test number Result Time 1 Ok 0.2671s 2 Ok 0.2705s 3 Ok 0.2775s 4 Ok 0.2608s 5 Ok 0.2826s 6 Ok 0.2708s 7 Wrong answer 0.2623s