第十六届蓝桥杯青少组C++省赛[2025.8.9]第二部分编程题(1 、庆典队列)
参考程序:
#include <iostream>
using namespace std;int main() {int n, A;cin >> n >> A; // 输入:n 和 A,用空格隔开cout << n / A; // 整数相除,自动向下取整return 0;
}
参考程序:
#include <iostream>
using namespace std;int main() {int n, A;cin >> n >> A; // 输入:n 和 A,用空格隔开cout << n / A; // 整数相除,自动向下取整return 0;
}