9832022-02-14 17:58:39HobimmSakktábla (75 pont)cpp11Wrong answer 43/752ms2020 KiB
#include <bits/stdc++.h>
#define ll long long
using namespace std;

int main()
{
    long long n,m;
    cin >> n >> m;
    int i=1;
    while (i*i<n+m) {
        i++;
    }
    cout << i-1;
    return 0;
}
SubtaskSumTestVerdictTimeMemory
base43/75
1Accepted0/02ms1868 KiB
2Wrong answer0/01ms1908 KiB
3Wrong answer0/51ms1968 KiB
4Wrong answer0/51ms1976 KiB
5Wrong answer0/51ms1976 KiB
6Accepted5/51ms1988 KiB
7Accepted5/51ms1988 KiB
8Wrong answer0/51ms1988 KiB
9Accepted5/51ms1996 KiB
10Wrong answer0/51ms2004 KiB
11Accepted7/71ms2008 KiB
12Wrong answer0/71ms2008 KiB
13Accepted7/71ms2012 KiB
14Accepted7/71ms2020 KiB
15Accepted7/71ms2020 KiB