# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
457686 | Jokubas | Coins (LMIO19_monetos) | C++14 | 1 ms | 204 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <iostream>
#include <bits/stdc++.h>
#define pb push_back
using namespace std;
/*setIO(string s)
{
freopen((s+".in").c_str(), "r", stdin);
}*/
int main()
{
//setIO("input");
int T, N, K1, K2;
cin>>T>>N>>K1>>K2;
cout<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<1<<" "<<1<<"\n";
cout<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<1<<" "<<1<<" "<<1<<"\n";
cout<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<1<<" "<<1<<" "<<1<<"\n";
cout<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<1<<" "<<1<<" "<<1<<"\n";
cout<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<1<<" "<<1<<" "<<1<<"\n";
cout<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<1<<" "<<1<<" "<<1<<"\n";
cout<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<0<<" "<<1<<" "<<1<<" "<<1<<"\n";
cout<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<"\n";
cout<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<"\n";
cout<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<" "<<1<<"\n";
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |