Job 18131

Owner
Liana Tucar
Problem
Morse
Contest
MindCoding 2017 Round 1 (Div. 1)
Source
0.79KB
Result
Wrong answer

Compiler output

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

Results

Test numberResultTime
1Wrong answer0.2586s
Questions?

Sponsors Gold