摘要:
#include <iostream> using namespace std; int main() { int T; cin >> T; while (T--) { int n; cin >> n; int startTimes[n]; // 用于存储每个学生开始结账的时间 int patien 阅读全文
摘要:
#include <iostream> using namespace std; // 判断一个数是否是素数 bool isPrime(int num) { if (num < 2) { return false; // 数字小于2不是素数 } for (int i = 2; i * i <= nu 阅读全文