Job 20406

Owner
Cristea Theodor Stefan
Problem
Words
Contest
MindCoding 2017 Final 2
Source
1.77KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:29:9: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
         gets (str[i] + 1);
         ^
prog.cpp:29:25: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
         gets (str[i] + 1);
                         ^
/tmp/ccLqY3N0.o: In function `main':
prog.cpp:(.text.startup+0x122): warning: the `gets' function is dangerous and should not be used.

Results

Test numberResultTime
1Wrong answer0.2470s
Questions?

Sponsors Gold