- 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 number Result Time 1 Ok 0.2827s 2 Ok 0.2880s 3 Ok 0.2794s 4 Ok 0.2605s 5 Ok 0.2599s 6 Ok 0.2624s 7 Ok 0.2725s 8 Ok 0.2810s 9 Ok 0.2794s 10 Ok 0.2814s 11 Ok 0.2714s 12 Ok 0.2779s 13 Ok 0.2729s 14 Ok 0.2763s 15 Ok 0.2791s 16 Ok 0.2822s 17 Ok 0.2872s 18 Ok 0.2829s 19 Ok 0.2806s 20 Ok 0.2834s