C++ GESP 五级 2023年6月 真题及解析

360影视 2024-11-29 19:50 8

摘要:#include #include using namespace std;typedef long long LL;LL n;int main { cin >> n; bool is_first = true; for(i

1 单项选择

2 判断题

3 编程题

因数分解

题目分析

基础数论,从 2 开始进行试除,注意输出格式。

#include #include using namespace std;typedef long long LL;LL n;int main { cin >> n; bool is_first = true; for(int i = 2; i 1){ if(!is_first) cout

来源:启萌教育

相关推荐