| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1318562 | uranhishig | World Map (IOI25_worldmap) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
//#include "worldmap.h"
using namespace std;
std::vector<std::vector<int>> create_map(int N, int M, std::vector<int> A, std::vector<int> B) {
std::vector<std::vector<int>> ans(N, std::vector<int>(N, 1));
for (int i = 0; i < N; i++) {
for (int j = 0; j < N; j++) {
ans[i][j] = j+ 1;
}
}
return ans;
}
signed main(){
vector<vector<int>>v= create_map(4, 4, {1, 1, 2, 3}, {2, 3, 4, 4});
for(auto a:v){
for(auto x:a)cout<<x<<" ";
cout<<endl;
}
}
