제출 #1260681

#제출 시각아이디문제언어결과실행 시간메모리
1260681riddles세계 지도 (IOI25_worldmap)C++20
0 / 100
2 ms584 KiB
#include "worldmap.h" #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef map<ll, ll> mp; typedef pair<ll, ll> pll; typedef queue<ll> qi; typedef vector<ll> vi; typedef vector <vi> vvi; typedef vector <pll> vpl; typedef vector <string> vs; #define YES cout<<"YES\n" #define Yes cout<<"Yes\n" #define NO cout<<"NO\n" #define No cout<<"No\n" #define f first #define s second #define pb push_back #define all(x) begin(x), end(x) int n, m; vector<int> a, b; vector<vector<int>> create_map(int N, int M, vector<int> A, vector<int> B) { n=N; m=M; a=A; b=B; vector<vector<int>> ans((n-1), vector<int>((n-1), 1)); for(ll i=0; i<n-1; i++){ for(ll j=0; j<n-1; j++){ if(i%2==0) ans[i][j]=j+1; else ans[i][j]=j+2; } } return ans; }
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...