Job 2631

Owner
Gogonea Andrei
Problem
Ticket
Contest
MindCoding 2014 Round 3
Source
2.37KB
Result
Wrong answer

Compiler output

prog.cpp: In function ‘int main()’:
prog.cpp:12:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[42]’ [-Wformat]
prog.cpp:14:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat]
prog.cpp:38:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat]
prog.cpp:48:39: warning: NULL used in arithmetic [-Wpointer-arith]
prog.cpp:77:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat]
prog.cpp:91:40: warning: NULL used in arithmetic [-Wpointer-arith]

Results

Test numberResultTime
1Wrong answer0.0135s
Questions?

Sponsors Gold