- Owner
- Gabor Alexandru
- Problem
- Pharm
- Contest
- MindCoding 2015 Test Round Redux
- Source
- 1.57KB
- Result
- Compile error (Non-zero exit status: 1)
Compiler output
prog.cpp: In function 'int new_size(int, int)': prog.cpp:41:38: warning: array subscript has type 'char' [-Wchar-subscripts] prog.cpp:41:65: warning: array subscript has type 'char' [-Wchar-subscripts] prog.cpp:42:5: error: expected ';' before 'if' prog.cpp:39:9: warning: unused variable 's2' [-Wunused-variable] prog.cpp:46:1: warning: no return statement in function returning non-void [-Wreturn-type]