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

Compile Error

ippt.cpp: In function ‘int main()’:
ippt.cpp:6:20: error: expected ‘;’ before ‘if’
6 | cin >> a >> b >> c
| ^
| ;
7 | if (a + b + c < 61) {
| ~~
ippt.cpp:9:4: 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.cpp:1:
/usr/include/c++/9/cstddef:140:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator>>(st