| Problem | psle |
|---|---|
| User | StarSparrowFox |
| Submission Time | 2025-07-29 17:08:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int main()’:
psle.cpp:5:2: error: expected initializer before ‘cin’
5 | cin >> score
| ^~~
psle.cpp:8:3: error: ‘else’ without a previous ‘if’
8 | }else if(score >= 75){
| ^~~~
psle.cpp:8:11: error: ‘score’ was not declared in this scope
8 | }else if(score >= 75){
| ^~~~~
psle.cpp:15:8: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [2]’)
15 | cout >> "D";
| ~~~~ ^~ ~~~
| | |
| | const char [2]
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/c++/9/string:56,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ost