Job 16204

Owner
Yury Pisarchyk
Problem
Registration Plates
Contest
MindCoding 2016 Round 4 (Div. 1)
Source
1.04KB
Result
Accepted

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:7:19: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
   scanf("%d",&t); gets(s);
                   ^
prog.cpp:7:25: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
   scanf("%d",&t); gets(s);
                         ^
prog.cpp:9:5: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
     gets(s); n=strlen(s); q=true;
     ^
prog.cpp:9:11: warning: 'char* gets(char*)' is deprecated (declared at /usr/include/stdio.h:638) [-Wdeprecated-declarations]
     gets(s); n=strlen(s); q=true;
           ^
/tmp/cc1QVVZv.o: In function `main':
prog.cpp:(.text.startup+0x2a): warning: the `gets' function is dangerous and should not be used.

Results

Test numberResultTime
1Ok0.2639s
Questions?

Sponsors Gold