1596 | 2022-11-28 20:32:22 | kicsiboglar | Főzet készítés | cpp11 | Forditási hiba |
#include <iostream>
#define ll long long
using namespace std;
ll i, j, a, b, t ;
int main()
{
cin >> t;
while (t)
{
--t;
cin >> a >> b;
if (a + b <= 4) cout << "1";
else if (a == 1 || b == 1) cout << "1";
else
{
ll db = 1;
a--;
b--;
if (a==1)
}
cout << "\n";
}
}
exit status 1
main.cpp: In function 'int main()':
main.cpp:24:9: error: expected primary-expression before '}' token
24 | }
| ^
Exited with error status 1