eolymp
bolt
Попробуйте наш новый интерфейс для отправки задач
Задачи

Спички

опубликовано 10.11.2018, 10:53:55

Greate!!! Thank you!!!

опубликовано 13.03.2019, 18:42:08

Насколько ж легкая эта задача после 3

опубликовано 28.11.2019, 15:33:51

Не можу ніяк до неї взятись...допоможіть =) Python

опубликовано 15.03.2024, 23:24:56

People try to assure me that it's very hard to find a reputable and trustworthy online casino. I am pretty sure that Ice Casino bonus code online casino will make your life better because it's goal is not to steal money but to be honest with you. If you want to quit your job and make a https://icecasino.eu.com/no-deposit-bonus/ living from playing a casino it's your best choice!

опубликовано 01.04.2024, 11:29:25

include<iostream>

include<cmath>

using namespace std; int main (){ int x,y,m,n,d; cin>>x; y=sqrt(x); m=y*y; n=x-m; if(n<=y&&n!=0){ n=n*2+1; } else if(n>=y){ n=n*2+2; } cout<<m*2+y*2+n;

}