Job 16959

Owner
Niculae Alexandru-Vlad
Problem
Pipes
Contest
MindCoding 2016 Final 2
Source
1.47KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:50:9: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
         gets(s+1); n = strlen(s+1);
         ^
prog.cpp:50:17: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
         gets(s+1); n = strlen(s+1);
                 ^
/tmp/ccLSfTie.o: In function `main':
prog.cpp:(.text.startup+0x26): warning: the `gets' function is dangerous and should not be used.

Results

Test numberResultTime
1Wrong answer0.2866s
Questions?

Sponsors Gold