Job 15629

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 numberResultTime
1Ok0.2840s
2Wrong answer0.2767s
Questions?

Sponsors Gold