# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
472391 | MamdouhN | Nadan (COCI18_nadan) | C++14 | 1 ms | 292 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<bits/stdc++.h>
using namespace std;
#define int long long
#define endl "\n"
vector<int>ans;
main()
{
int n,k;
cin>>k>>n;
for(int i=0;i<n;i++)
{
int x=k/n;
if(i==n-1)x+=k%n;
cout<<x<<endl;
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |