eolymp
Problems

Sum of two

published at 11/9/13, 5:13:40 pm

пример входит в тест?

published at 11/25/14, 3:00:08 pm

Meselenin sertini basa dusmedim

published at 11/30/21, 9:56:31 am

include <bits/stdc++.h>

using namespace std; int main(){ int i,a,b,n,j; cin>>n; for (int i = 1; i <= n; i++) { cin>>a>>b; cout<<(a+b)<<endl; } return 0; }

published at 9/24/22, 5:35:17 pm

using System;

class Program { static void Main(string[] args) { int n = Convert.ToInt32(Console.ReadLine()); int[] k = new int[n]; for(int i = 0; i < n; i++) { string numberString = Console.ReadLine(); string[] numbers = numberString.Split(" "); int f = Convert.ToInt32(numbers[0]); int t = Convert.ToInt32(numbers[1]); k[i] = f+t; } for(int h = 0; h < k.Length; h++) { Console.WriteLine(k[h]); } } }