编写题解 2764: 带余除法 摘要:解题思路:整除://求余:%注意事项:参考代码:a,b=map(int,input().split()) while b!=0: #当除数非0,进入while循环 print(a//b,a…… 题解列表 2022年10月18日 0 点赞 0 评论 1022 浏览 评分:9.7
基础入门)带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); printf("%d ",a/b)…… 题解列表 2022年11月20日 0 点赞 0 评论 819 浏览 评分:9.3
编写题解 2764: 带余除法 摘要:解题思路:注意事项:除数不能为0'//'为取整除,得到商的整数部分(向下取整)参考代码:a,b=map(int,input().split())while b!=0: print…… 题解列表 2024年02月23日 0 点赞 0 评论 374 浏览 评分:6.0
2764: 带余除法 摘要:解题思路:分开算除和余。注意事项:无参考代码:#include<iostream> using namespace std; int main() { int a,b; ci…… 题解列表 2022年10月22日 0 点赞 0 评论 371 浏览 评分:6.0
带余除法(C++解法) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a/b…… 题解列表 2023年06月03日 0 点赞 0 评论 177 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d", &a, &b); printf("%d ",a/…… 题解列表 2023年06月10日 0 点赞 0 评论 184 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a, b; scanf("%d %d",&a,&b); printf("%d %d",…… 题解列表 2023年03月24日 0 点赞 0 评论 192 浏览 评分: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 评论 114 浏览 评分: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 评论 170 浏览 评分:0.0
编写题解 2764: 带余除法 摘要:解题思路:编写题解 2764: 带余除法注意事项:参考代码:x, y = map(eval,input().split())print(x//y,x%y,sep=" ")…… 题解列表 2023年12月16日 0 点赞 0 评论 152 浏览 评分:0.0