| Task: | Stone game |
| Sender: | aalto26am_025 |
| Submission time: | 2026-08-31 21:22:58 +0300 |
| Language: | C++ (C++20) |
| Status: | COMPILE ERROR |
Compiler report
input/code.cpp: In function 'int main()':
input/code.cpp:11:25: error: expected ';' before '}' token
11 | else cout << "Maija"
| ^
| ;
12 | }
| ~Code
#include <iostream>
#include <string>
using namespace std;
int main(){
int a, b;
cin >> a >> b;
if(a == 0 && b == 0) cout << "Uolevi";
else if(a != b) cout << "Uolevi";
else cout << "Maija"
}