This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
inline int gcd(int a, int b) {
if(b==0) return a;
return gcd(b,a%b);
}
inline int edicul(int a, int b) {
if(a<b) return edicul(b,a);
if(b==1) return a;
return edicul(a/b,b);
}
void solve() {
int g,h;
cin >> g >> h;
if(g==h) cout << g << ' ' << endl;
}
int main() {
int t;
cin >> t;
while(t--) solve();
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |