43572023-03-26 19:47:46KevinSakktábla (75 pont)cpp17Wrong answer 34/753ms3876 KiB
#include <bits/stdc++.h>
using namespace std;

int main() {
	int n, m;
	cin >> n;
	cin >> m;
	if (n>m)
		n=m+1;
	if (m>n)
		m=n+1;
	cout << sqrt(m+n);
}
SubtaskSumTestVerdictTimeMemory
base34/75
1Accepted0/03ms1960 KiB
2Wrong answer0/03ms2132 KiB
3Accepted5/52ms2224 KiB
4Accepted5/53ms2512 KiB
5Accepted5/53ms2584 KiB
6Wrong answer0/53ms2504 KiB
7Wrong answer0/52ms2576 KiB
8Wrong answer0/53ms2700 KiB
9Wrong answer0/53ms2908 KiB
10Accepted5/52ms3124 KiB
11Wrong answer0/73ms3336 KiB
12Wrong answer0/73ms3544 KiB
13Accepted7/72ms3668 KiB
14Wrong answer0/73ms3876 KiB
15Accepted7/72ms3840 KiB