Problem urarareader
User Hihihihihi
Submission Time 2026-06-23 10:42:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

urarareader.cpp:9:6: error: stray ‘\357’ in program
9 | if (y>=K) {
| ^
urarareader.cpp:9:7: error: stray ‘\274’ in program
9 | if (y>=K) {
| ^
urarareader.cpp:9:8: error: stray ‘\210’ in program
9 | if (y>=K) {
| ^
urarareader.cpp: In function ‘int main()’:
urarareader.cpp:9:9: error: expected ‘(’ before ‘y’
9 | if (y>=K) {
| ^
| (
urarareader.cpp:11:3: error: ‘else’ without a previous ‘if’
11 | else {cout<<"NO"<<"\n";
| ^~~~
urarareader.cpp:14:5: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘long long int’)
14 | cin<<y;
| ~~~^~~
| | |
| | long long int
| std::istream {aka std::basic_istream<char>}
urarareader.cpp:14:5: note: candidate: ‘operator<<(int, long long int)’