Job 2641

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

Compiler output

prog.cpp: In function ‘int main()’:
prog.cpp:13:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[42]’ [-Wformat]
prog.cpp:15:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat]
prog.cpp:39:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat]
prog.cpp:49:39: warning: NULL used in arithmetic [-Wpointer-arith]
prog.cpp:78:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[21]’ [-Wformat]
prog.cpp:92:45: warning: NULL used in arithmetic [-Wpointer-arith]

Results

Test numberResultTime
1Wrong answer0.0138s
Questions?

Sponsors Gold