# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
472391 | 2021-09-13T12:51:36 Z | MamdouhN | Nadan (COCI18_nadan) | C++14 | 1 ms | 292 KB |
#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
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 292 KB | Output isn't correct |
2 | Incorrect | 1 ms | 204 KB | Output isn't correct |
3 | Incorrect | 1 ms | 288 KB | Output isn't correct |
4 | Correct | 1 ms | 204 KB | Output is correct |
5 | Incorrect | 1 ms | 204 KB | Output isn't correct |
6 | Incorrect | 1 ms | 204 KB | Output isn't correct |
7 | Incorrect | 0 ms | 204 KB | Output isn't correct |
8 | Correct | 1 ms | 204 KB | Output is correct |
9 | Incorrect | 1 ms | 204 KB | Output isn't correct |
10 | Incorrect | 0 ms | 288 KB | Output isn't correct |