Job 14751

Owner
Lazar Laurentiu
Problem
Lumber Jack and Grammar
Contest
MindCoding 2016 Round 2 GAMELOFT (Div. 1)
Source
0.26KB
Result
Accepted

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:7:5: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
     gets(subtitle);
     ^
prog.cpp:7:18: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
     gets(subtitle);
                  ^
prog.cpp:8:36: warning: NULL used in arithmetic [-Wpointer-arith]
     for (char* p = subtitle; *p != NULL; ++p) {
                                    ^
/tmp/ccnAUPdf.o: In function `main':
prog.cpp:(.text.startup+0xc): warning: the `gets' function is dangerous and should not be used.

Results

Test numberResultTime
1Ok0.2799s
2Ok0.2539s
3Ok0.2692s
Questions?

Sponsors Gold