- Owner
- Niculae Alexandru-Vlad
- Problem
- Byte Trains
- Contest
- MindCoding 2016 Round 3 (Div. 1)
- Source
- 0.88KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'int main()': prog.cpp:30:5: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations] gets(s+1); n = strlen(s+1); ^ prog.cpp:30:13: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations] gets(s+1); n = strlen(s+1); ^ /tmp/ccfHDaMt.o: In function `main': prog.cpp:(.text.startup+0x4): warning: the `gets' function is dangerous and should not be used.
Results
Test number Result Time 1 Ok 0.2840s 2 Wrong answer 0.2767s