9852022-02-14 18:00:55HobimmSakktábla (75 pont)cpp11Wrong answer 43/752ms2036 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
base43/75
1Accepted0/02ms1904 KiB
2Wrong answer0/01ms1976 KiB
3Wrong answer0/51ms1988 KiB
4Wrong answer0/51ms1976 KiB
5Wrong answer0/51ms1980 KiB
6Accepted5/51ms1992 KiB
7Accepted5/51ms2008 KiB
8Wrong answer0/52ms2000 KiB
9Accepted5/51ms2004 KiB
10Wrong answer0/51ms2000 KiB
11Accepted7/71ms2020 KiB
12Wrong answer0/71ms2012 KiB
13Accepted7/71ms2028 KiB
14Accepted7/71ms2024 KiB
15Accepted7/71ms2036 KiB