제출 #1279492

#제출 시각아이디문제언어결과실행 시간메모리
1279492Duelist1234Izlet (COI19_izlet)C++20
0 / 100
896 ms35624 KiB
#include <iostream> #include <bits/stdc++.h> #include <vector> #include <utility> #include <map> #define ll long long int const ll mod=1e9+7; using namespace std; /* ? Did I test edge cases? (Empty, min/max, 1-element, same elements, etc.) ? Did I reread the full prompt to recheck constraints? ? Does my code handle ties, negatives, zeroes, or duplicates? ? Am I brute-forcing something unnecessarily? ? Am I assuming things not in the problem? Have I defined all state variables explicitly? Do I know what each transition costs? Have I written 2 edge-case scenarios by hand? */ int main(){ //cin.tie(0)->sync_with_stdio(false); int n,sub; cin>>sub>>n; int a[n][n]; for(int i=0;i<n;i++) { for(int j=0;j<n;j++) cin>>a[i][j]; } for(int i=0;i<n;i++) cout<<a[0][i]<<" "; cout<<endl; for(int i=1;i<n;i++) { cout<<i<<" "<<i+1<<endl; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...