# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
992140 | irmuun | The Kingdom of JOIOI (JOI17_joioi) | C++17 | 2577 ms | 102344 KiB |
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;
#define ll long long
#define pb push_back
#define ff first
#define ss second
#define all(s) s.begin(),s.end()
#define rall(s) s.rbegin(),s.rend()
ll H,W;
ll a[2005][2005],b[2005][2005];
void rotate(){
for(ll i=1;i<=H;i++){
for(ll j=1;j<=W;j++){
b[i][j]=a[i][j];
}
}
for(ll j=1;j<=W;j++){
for(ll i=H;i>=1;i--){
a[j][H+1-i]=b[i][j];
}
}
swap(H,W);
}
int main(){
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |