Submission #807187

#TimeUsernameProblemLanguageResultExecution timeMemory
807187tlnk07Euklid (COCI20_euklid)C++17
20 / 110
1 ms300 KiB
#include<bits/stdc++.h> using namespace std; long long t, n, m; int main() { cin >> t; while(t--) { cin >> n >> m; if(n == m) cout << n << " " << n << "\n"; else cout << n * m << " " << n << "\n"; } }
#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...