Job 14812

Owner
turcuman vlad
Problem
Lumber Jack and Grammar
Contest
MindCoding 2016 Round 2 GAMELOFT (Div. 2)
Source
0.37KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:14:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=0;i<strlen(str);i++)
              ^
prog.cpp:16:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if(str[i]!='-')
           ^

Results

Test numberResultTime
1Wrong answer0.2533s
Questions?

Sponsors Gold