- Owner
- Niculae Alexandru-Vlad
- Problem
- Byte Trains
- Contest
- MindCoding 2016 Round 3 (Div. 1)
- Source
- 0.90KB
- Result
- Accepted
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/ccV3YLp6.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.2635s 2 Ok 0.2555s 3 Ok 0.2646s 4 Ok 0.2637s 5 Ok 0.2665s 6 Ok 0.2537s 7 Ok 0.2657s 8 Ok 0.2704s 9 Ok 0.2734s