2764: 带余除法 解题思路:/为除%为取模注意事项:整数的运算结果是整数都是提交成功过的,可以直接使用。参考代码:#includeusingnamespacestd;intmain(){inta,b;cin>>a>>b;cout< 题解列表 2026年05月20日 0 点赞 0 评论 161 浏览 评分:0.0 函数大法(较为麻烦但是可以学一下函数怎么命名以及赋值 摘要:解题思路:注意事项:参考代码:def s_yu(a,b): c=a//b d=a%b return c,da,b=map(…… 题解列表 2026年04月19日 0 点赞 0 评论 175 浏览 评分:0.0 带余除法(超简单) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d %d",a/…… 题解列表 2022年12月30日 0 点赞 0 评论 638 浏览 评分:0.0 题解 2764: 带余除法 摘要:##########################################a,b=map(int,input().split(" "))print(int(a/b),end=' &#…… 题解列表 2024年07月04日 2 点赞 0 评论 985 浏览 评分:0.0 题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a = 0; int b = 0; scanf("%d %d\n", &a, &b); printf("…… 题解列表 2023年02月27日 0 点赞 0 评论 513 浏览 评分:0.0 算术表达式与顺序执行--4.带余除法 摘要:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); printf("%d %d\n",a/b,a%b);…… 题解列表 2023年03月23日 0 点赞 0 评论 494 浏览 评分:0.0 编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b; scanf("%d %d",&a,&b); printf("%d %d",…… 题解列表 2023年03月24日 0 点赞 0 评论 564 浏览 评分:0.0 带余除法(C++解法) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a/b…… 题解列表 2023年06月03日 0 点赞 0 评论 567 浏览 评分:0.0 编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); printf("%d ",a/…… 题解列表 2023年06月10日 0 点赞 0 评论 569 浏览 评分:0.0 编写题解 2764: 带余除法 解题思路:编写题解2764:带余除法注意事项:参考代码:x,y=map(eval,input().split())print(x//y,x%y,sep="") 题解列表 2023年12月16日 0 点赞 0 评论 690 浏览 评分:0.0 « 123 »
函数大法(较为麻烦但是可以学一下函数怎么命名以及赋值 摘要:解题思路:注意事项:参考代码:def s_yu(a,b): c=a//b d=a%b return c,da,b=map(…… 题解列表 2026年04月19日 0 点赞 0 评论 175 浏览 评分:0.0
带余除法(超简单) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d %d",a/…… 题解列表 2022年12月30日 0 点赞 0 评论 638 浏览 评分:0.0
题解 2764: 带余除法 摘要:##########################################a,b=map(int,input().split(" "))print(int(a/b),end=' &#…… 题解列表 2024年07月04日 2 点赞 0 评论 985 浏览 评分:0.0
题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a = 0; int b = 0; scanf("%d %d\n", &a, &b); printf("…… 题解列表 2023年02月27日 0 点赞 0 评论 513 浏览 评分:0.0
算术表达式与顺序执行--4.带余除法 摘要:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d %d",&a,&b); printf("%d %d\n",a/b,a%b);…… 题解列表 2023年03月23日 0 点赞 0 评论 494 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b; scanf("%d %d",&a,&b); printf("%d %d",…… 题解列表 2023年03月24日 0 点赞 0 评论 564 浏览 评分:0.0
带余除法(C++解法) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a/b…… 题解列表 2023年06月03日 0 点赞 0 评论 567 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); printf("%d ",a/…… 题解列表 2023年06月10日 0 点赞 0 评论 569 浏览 评分:0.0
编写题解 2764: 带余除法 解题思路:编写题解2764:带余除法注意事项:参考代码:x,y=map(eval,input().split())print(x//y,x%y,sep="") 题解列表 2023年12月16日 0 点赞 0 评论 690 浏览 评分:0.0