编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#12522 #42. 为了更美好的明天 Accepted 100 38 ms 380 K C++ 17 / 487 B Silencer76 2023-12-09 15:14:47
显示原始代码
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cstring>
#include <cctype>
#include <cmath>
#include <algorithm>
#include <functional>
#include <numeric>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <stack>
#include <queue>
#include <tuple>
#include <bitset>
using namespace std;
int main(void) {
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    long long x, y;
    cin >> x >> y;
    cout << x / y + (x % y > 0);
    return 0;
}
子任务 #1
Accepted
得分:100
测试点 #1
Accepted
得分:100
用时:5 ms
内存:256 KiB

输入文件(TestData1.in

5 2

答案文件(TestData1.out

3

用户输出

3

系统信息

Exited with return code 0
测试点 #2
Accepted
得分:100
用时:3 ms
内存:364 KiB

输入文件(TestData2.in

6 3

答案文件(TestData2.out

2

用户输出

2

系统信息

Exited with return code 0
测试点 #3
Accepted
得分:100
用时:3 ms
内存:248 KiB

输入文件(TestData3.in

321 123

答案文件(TestData3.out

3

用户输出

3

系统信息

Exited with return code 0
测试点 #4
Accepted
得分:100
用时:3 ms
内存:328 KiB

输入文件(TestData4.in

9999999 3333333

答案文件(TestData4.out

3

用户输出

3

系统信息

Exited with return code 0
测试点 #5
Accepted
得分:100
用时:3 ms
内存:256 KiB

输入文件(TestData5.in

871296541 353510354

答案文件(TestData5.out

3

用户输出

3

系统信息

Exited with return code 0
测试点 #6
Accepted
得分:100
用时:3 ms
内存:352 KiB

输入文件(TestData6.in

123456789 123456788

答案文件(TestData6.out

2

用户输出

2

系统信息

Exited with return code 0
测试点 #7
Accepted
得分:100
用时:3 ms
内存:324 KiB

输入文件(TestData7.in

1000000000000000000 3

答案文件(TestData7.out

333333333333333334

用户输出

333333333333333334

系统信息

Exited with return code 0
测试点 #8
Accepted
得分:100
用时:5 ms
内存:380 KiB

输入文件(TestData8.in

999999999999999999 1234777

答案文件(TestData8.out

809862833532

用户输出

809862833532

系统信息

Exited with return code 0
测试点 #9
Accepted
得分:100
用时:3 ms
内存:328 KiB

输入文件(TestData9.in

1000000000000000000 1000000000000000000

答案文件(TestData9.out

1

用户输出

1

系统信息

Exited with return code 0
测试点 #10
Accepted
得分:100
用时:3 ms
内存:336 KiB

输入文件(TestData10.in

939393939393939393 777777777

答案文件(TestData10.out

1207792209

用户输出

1207792209

系统信息

Exited with return code 0
测试点 #11
Accepted
得分:100
用时:4 ms
内存:256 KiB

输入文件(TestData11.in

99999 10000000

答案文件(TestData11.out

1

用户输出

1

系统信息

Exited with return code 0