Job 14741

Owner
Oncescu Costin Andrei
Problem
Lumber Jack and Grammar
Contest
MindCoding 2016 Round 2 GAMELOFT (Div. 1)
Source
0.51KB
Result
Accepted

Compiler output

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

Results

Test numberResultTime
1Ok0.2610s
2Ok0.2957s
3Ok0.2675s
Questions?

Sponsors Gold