eolymp
Problems

Периметр і площа 2

published at 2/6/20, 1:09:31 pm

як зробити задачу цю?

published at 9/11/21, 4:23:13 pm

a = int(input()) p = 4a s = a*2 print (p, s)

published at 9/11/21, 4:23:33 pm

code on python

s = int(input()) p = s * 4 s = s**2

print (p,s)

published at 9/24/22, 10:46:19 pm

include <iostream>

using namespace std;

int main() { long a; cin >> a; cout << 4 * a << " " << a * a; }

published at 9/24/22, 10:48:08 pm

using System;

class Program { static void Main(string[] args) { long a; a = Convert.ToInt64(Console.ReadLine()); Console.WriteLine(4 * a + " " + a * a); } }

published at 10/13/22, 3:28:11 pm

if you get 60%, its because you are using pow(a,2). if you use a * a, you will get 100%.

published at 1/9/23, 8:30:06 am

include <iostream>

using namespace std; int main() { long long a; cin>>a; cout<<a*4<<" "<<a*a; }

published at 2/12/23, 7:47:31 pm

Bunu kocureni de Nebilime