Job 18526

Owner
Andrei Udriste
Problem
Lumber Jack and Grammar
Source
0.29KB
Result
Output Limit Exceeded

Compiler output

prog.cpp: In function 'int main()':
prog.cpp:10:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 while(ch = getchar()){
                    ^
prog.cpp:11:25: warning: comparison is always false due to limited range of data type [-Wtype-limits]
     if(ch == '\n' || ch == EOF) break;
                         ^

Results

Test numberResultTime
1Output Limit Exceeded0.2371s
Questions?

Sponsors Gold