Problem ippt
User smartsword
Submission Time 2025-02-26 16:17:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ippt.cpp: In function ‘int main()’:
ippt.cpp:7:13: error: expected ‘;’ before ‘if’
7 | cin >> a,b,c
| ^
| ;
8 | if(a == 0 or b == 0 or c == 0) {
| ~~
ippt.cpp:11:1: error: ‘else’ without a previous ‘if’
11 | else if(a + b +c <= 50) {
| ^~~~