Job 14756

Owner
Niculae Alexandru-Vlad
Problem
Lumber Jack and Grammar
Contest
MindCoding 2016 Round 2 GAMELOFT (Div. 1)
Source
0.91KB
Result
Accepted

Compiler output

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

Results

Test numberResultTime
1Ok0.2746s
2Ok0.2650s
3Ok0.2618s
Questions?

Sponsors Gold