File size: 299 Bytes
1fd0050 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | #include <bits/stdc++.h>
using namespace std;
int main() {
long long k;
if (!(cin >> k)) return 0;
// Trivial (but only correct for k == 1)
// For all k, output a 1-instruction program that halts in 1 step.
cout << 1 << "\n";
cout << "HALT PUSH 1 GOTO 1\n";
return 0;
} |