Problem ippt
User AwkUngenially
Submission Time 2026-11-04 20:06:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ippt.cpp: In function ‘int main()’:
ippt.cpp:5:9: error: ‘a’ was not declared in this scope
5 | cin >> a >> b >> c
| ^
ippt.cpp:5:14: error: ‘b’ was not declared in this scope
5 | cin >> a >> b >> c
| ^
ippt.cpp:5:19: error: ‘c’ was not declared in this scope
5 | cin >> a >> b >> c
| ^
ippt.cpp:9:2: error: ‘else’ without a previous ‘if’
9 | else if (a + b + c < 75) {
| ^~~~
ippt.cpp:10:8: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [5]’)
10 | cout >> "PASS";
| ~~~~ ^~ ~~~~~~
| | |
| | const char [5]
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from ippt.