Job 14736

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

Compiler output

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

Results

Test numberResultTime
1Wrong answer0.2649s
Questions?

Sponsors Gold