Submission #1025809

#TimeUsernameProblemLanguageResultExecution timeMemory
1025809vjudge1Košnja (COCI17_kosnja)C++17
0 / 50
72 ms848 KiB
#include <bits/stdc++.h> using namespace std; #define ll long long int const N=2e5+5; int const mod=1e9+7; void solve(){ ll a,b; cin>>a>>b; a=min(a,b)-1; cout<<a*a<<endl; } int main(){ int t=1; cin>>t; while(t--) solve(); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...