Submission
Id | When | Author | Problem | Language | CPU | Memory | Verdict |
---|---|---|---|---|---|---|---|
5499 | 2022-06-02 23:56:51 | ewu_battle21u_08 | Shift the liquid | C++ 14 | 0 ms | 0 kb | Compilation Error |
Test Cases
CPU | Memory | Verdict | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | 0 ms | 0 kb | Compilation Error | ||||||||
2 | - | - | Skipped | ||||||||
3 | - | - | Skipped | ||||||||
4 | - | - | Skipped | ||||||||
5 | - | - | Skipped | ||||||||
6 | - | - | Skipped | ||||||||
7 | - | - | Skipped | ||||||||
8 | - | - | Skipped | ||||||||
9 | - | - | Skipped | ||||||||
10 | - | - | Skipped | ||||||||
11 | - | - | Skipped | ||||||||
12 | - | - | Skipped | ||||||||
13 | - | - | Skipped | ||||||||
14 | - | - | Skipped | ||||||||
15 | - | - | Skipped | ||||||||
16 | - | - | Skipped | ||||||||
17 | - | - | Skipped | ||||||||
18 | - | - | Skipped | ||||||||
19 | - | - | Skipped | ||||||||
20 | - | - | Skipped | ||||||||
21 | - | - | Skipped | ||||||||
Source Code
program.cpp
#include <bits/stdc++.h> using namespace std; int main() { long long int n, m, p = 0; cin >> n >> m; long long double check=n/m; long long int h=check; if(h==check){ cout<<h<<endl; }else{ cout<<h+1<<endl; } }