Job 16966

Owner
Niculae Alexandru-Vlad
Problem
Pipes
Contest
MindCoding 2016 Final 2
Source
1.50KB
Result
Accepted

Compiler output

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

Results

Test numberResultTime
1Ok0.2827s
2Ok0.2880s
3Ok0.2794s
4Ok0.2605s
5Ok0.2599s
6Ok0.2624s
7Ok0.2725s
8Ok0.2810s
9Ok0.2794s
10Ok0.2814s
11Ok0.2714s
12Ok0.2779s
13Ok0.2729s
14Ok0.2763s
15Ok0.2791s
16Ok0.2822s
17Ok0.2872s
18Ok0.2829s
19Ok0.2806s
20Ok0.2834s
Questions?

Sponsors Gold