제출 #1064702

#제출 시각아이디문제언어결과실행 시간메모리
1064702sunboiMake them Meet (EGOI24_makethemmeet)C++14
21.35 / 100
7 ms712 KiB
#include <bits/stdc++.h> using namespace std; #define int long long signed main(){ int n, m; cin >> n >> m; for (int i = 0; i < m; i++){ int a, b; cin >> a >> b; } cout << 1000 << endl; for (int i = 0; i < 1000; i++){ if (i % 2){ for (int j = 1; j <= n; j++){ cout << j / 2 << ' '; } }else{ for (int j = 0; j < n; j++){ cout << j / 2 << ' '; } } cout << endl; } }
#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...