9862022-02-14 18:02:44HobimmSakktábla (75 pont)cpp11Wrong answer 58/752ms2028 KiB
#include <bits/stdc++.h>
#define ll long long
using namespace std;

int main()
{
    long long n,m;
    cin >> n >> m;
    int i=0;
    while (i*i<=n+m) {
        i++;
    }
    cout << i-1;
    return 0;
}
SubtaskSumTestVerdictTimeMemory
base58/75
1Accepted0/02ms1864 KiB
2Wrong answer0/01ms1916 KiB
3Accepted5/51ms1984 KiB
4Accepted5/52ms1980 KiB
5Accepted5/52ms1988 KiB
6Accepted5/51ms1996 KiB
7Accepted5/51ms1992 KiB
8Wrong answer0/51ms1996 KiB
9Accepted5/51ms2004 KiB
10Wrong answer0/51ms2008 KiB
11Accepted7/71ms2008 KiB
12Wrong answer0/71ms2016 KiB
13Accepted7/71ms2016 KiB
14Accepted7/71ms2024 KiB
15Accepted7/71ms2028 KiB