- Owner
- Hasmasan Dragos
- Problem
- Lumber Jack and Grammar
- Contest
- MindCoding 2016 Round 2 GAMELOFT (Div. 1)
- Source
- 0.31KB
- Result
- Accepted
Compiler output
prog.cpp: In function 'int main()': prog.cpp:11:16: warning: array subscript has type 'char' [-Wchar-subscripts] if (c[i]!='.' && c[i]!='-') ^ prog.cpp:11:29: warning: array subscript has type 'char' [-Wchar-subscripts] if (c[i]!='.' && c[i]!='-') ^ prog.cpp:13:20: warning: array subscript has type 'char' [-Wchar-subscripts] if (c[i]==',') ^ prog.cpp:15:22: warning: array subscript has type 'char' [-Wchar-subscripts] cout<<c[i]; ^
Results
Test number Result Time 1 Ok 0.2554s 2 Ok 0.2602s 3 Ok 0.2559s