Job 15613

Owner
Oncescu Costin Andrei
Problem
Byte Trains
Contest
MindCoding 2016 Round 3 (Div. 1)
Source
1.02KB
Result
Crash (SIGSEGV)

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:24:1: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
 gets (sir + 1), N = strlen (sir + 1);
 ^
prog.cpp:24:14: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
 gets (sir + 1), N = strlen (sir + 1);
              ^
/tmp/ccTRu5XW.o: In function `main':
prog.cpp:(.text.startup+0xe): warning: the `gets' function is dangerous and should not be used.

Results

Test numberResultTime
1Ok0.2697s
2Ok0.2708s
3Crash (SIGSEGV)0.2813s
Questions?

Sponsors Gold