Submission #1064703

#TimeUsernameProblemLanguageResultExecution timeMemory
1064703sunboiMake them Meet (EGOI24_makethemmeet)C++17
24 / 100
5 ms604 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 << 600 << endl; for (int i = 0; i < 600; 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...