- Owner
- Andrei Udriste
- Problem
- Lumber Jack and Grammar
- Source
- 0.30KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'int main()': prog.cpp:10:28: warning: comparison is always true due to limited range of data type [-Wtype-limits] while(ch = getchar() && ch != EOF && ch != '\n' && i <= 100){ ^ prog.cpp:10:57: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while(ch = getchar() && ch != EOF && ch != '\n' && i <= 100){ ^
Results
Test number Result Time 1 Wrong answer 0.2373s