9872022-02-14 18:06:29HobimmSakktábla (75 pont)cpp11Wrong answer 58/752ms2024 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++;
    }
    if (i!=0) {
    cout << i-1;
    }
    else {
        cout << i;
    }
    return 0;
}
SubtaskSumTestVerdictTimeMemory
base58/75
1Accepted0/02ms1864 KiB
2Wrong answer0/01ms1920 KiB
3Accepted5/51ms1980 KiB
4Accepted5/51ms1992 KiB
5Accepted5/51ms1984 KiB
6Accepted5/51ms1992 KiB
7Accepted5/51ms1996 KiB
8Wrong answer0/51ms2000 KiB
9Accepted5/51ms2004 KiB
10Wrong answer0/51ms2004 KiB
11Accepted7/71ms2012 KiB
12Wrong answer0/71ms2020 KiB
13Accepted7/71ms2020 KiB
14Accepted7/71ms2024 KiB
15Accepted7/71ms2024 KiB