首页
DreamJudge
院校信息
考研初试
考研复试
保研专区
讨论区
兑换中心
登录
注册
上岸
以下题解仅供学习参考使用。
抄袭、复制题解,以达到刷AC率/AC数量或其他目的的行为,在N诺是严格禁止的。
N诺非常重视学术诚信。此类行为将会导致您成为作弊者。具体细则请查看N诺社区规则。
秋砚舟
2026年3月21日 11:44
整除 题解:
P1007
回复 0
|
赞 4
|
浏览 108
#include<iostream> #include<vector> using namespace std; int main() { vector<int> ans; for(int i = 101;i < 1000;i++) { if(i % 5 == 0 && i % 6 == 0) &nb...
Tyu0871
2026年3月16日 23:30
整除 题解:?神秘C++
P1007
回复 0
|
赞 2
|
浏览 129
#include<stdio.h> int main(){ int count =0; //不知道为什么,这里用C++去cout<<变量就会CE,但是同一套代码就改回printf又能过。神秘 for(int i=100;i<=1000;i++){ if((i%5==0) && (i%6==0)) { printf("%d",i); count++; if(count == 10){ count=0; puts(""); }else printf(" "); ...
ZeroQi_404
2026年3月15日 14:20
整除 题解:
P1007
回复 0
|
赞 1
|
浏览 152
#include <iostream> using namespace std; int main(){ int count = 0; for(int i=100;i<=1000;i++){ if(i%5==0 && i%6==0){ cout << i << ' '; count++; } if(count == 10){ cout << endl; count = 0; } } return 0; }
彻底死去
2026年3月13日 19:58
整除 题解:
P1007
回复 0
|
赞 0
|
浏览 144
#include<iostream> #include<cmath> #include<algorithm> #include<string> using namespace std; int main() { int a[100]; int index = 0; int cnt = 0; for (int i = 100; i < 1000; i++) { &n...
彻底死去
2026年3月13日 19:58
整除 题解:
P1007
回复 0
|
赞 0
|
浏览 152
#include<iostream> #include<cmath> #include<algorithm> #include<string> using namespace std; int main() { int a[100]; int index = 0; int cnt = 0; for (int i = 100; i < 1000; i++) { &n...
fgbgg
2026年2月27日 17:20
P1007 整除 答疑提问:
P1007
回复 1
|
赞 9
|
浏览 488
#include<bits/stdc++.h> using namespace std; int main() { int count = 0; for (int i = 10; i <= 1000; i++) { if (i % 5 == 0 && i % 6 == 0) { c...
666705
2026年2月12日 18:19
整除 题解:
P1007
回复 0
|
赞 29
|
浏览 504
#include<stdio.h> int main(){ int num=0; for(int i=100;i<=1000;i++){ if(i%5==0&&i%6==0){ if(num==9){ printf("%d\n",i); num=0; } else { printf("%d ",i); num++; } } } return 0; }
666705
2026年2月12日 18:18
整除 题解:
P1007
回复 0
|
赞 12
|
浏览 333
#include<stdio.h> int main(){ int num=0; for(int i=100;i<=1000;i++){ if(i%5==0&&i%6==0){ if(num==9){ &n...
666705
2026年2月12日 18:18
整除 题解:
P1007
回复 0
|
赞 4
|
浏览 240
#include<stdio.h> int main(){ int num=0; for(int i=100;i<=1000;i++){ if(i%5==0&&i%6==0){ if(num==9){ &n...
666705
2026年2月12日 18:18
整除 题解:
P1007
回复 0
|
赞 4
|
浏览 255
#include<stdio.h> int main(){ int num=0; for(int i=100;i<=1000;i++){ if(i%5==0&&i%6==0){ if(num==9){ &n...
1
2
3
4
题目
整除
题解数量
37
发布题解
在线答疑
热门题解
1
整除 题解:简洁版
2
整除 题解:逻辑简单
3
整除 题解:
4
整除 题解:复杂了点
5
整除 题解:
6
整除 题解:
7
整除 题解:比较笨的方法,好理解
8
整除 题解:
9
P1007 - 整除 - C
10
整除 题解: