Submission #670586

#TimeUsernameProblemLanguageResultExecution timeMemory
670586PayamEuklid (COCI20_euklid)C++17
16 / 110
1 ms320 KiB
#include<bits/stdc++.h>
#define ff first
#define ss second
#define pb push_back
#define pf push_front
#define forp(i,l,r) for (int i = (l); i < (r); i ++)
#define forp1(j,l,r) for (int j = (l); j < (r); j ++)
#define form(i,l,r) for (int i = (r); i >= (l); i --)
#define form1(j,l,r) for (int j = (r); j >= (l); j --)
#define minset(x) (*((x).begin()))
#define pii pair<int, int>
#define pll pair<long long, long long>
#define setp cout << fixed << setprecision(15)
#define all(x) (x).begin(), (x).end()
#define IOS ios::sync_with_stdio(false)
typedef long long ll;

using namespace std;
const int MAX_N = 1e3 + 13, MOD = 1e9 + 7, inf = 1e9 + 19;
ll INF = 1e18 + 118;

int main()
{
    IOS;
    cin.tie(0);
    int t;
    cin >> t;
    while (t --) {
        int g, h;
        cin >> g >> h;
        cout << g << ' ' << g * h << '\n';
    }
    return 0;
}

#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...