函数大法(较为麻烦但是可以学一下函数怎么命名以及赋值 摘要:解题思路:注意事项:参考代码:def s_yu(a,b): c=a//b d=a%b return c,da,b=map(…… 题解列表 2026年04月19日 0 点赞 0 评论 41 浏览 评分:0.0
C++简单解法 摘要:#includeusing namespace std;int main(void){ long long a,b; cin>>a>>b; cout…… 题解列表 2025年03月03日 1 点赞 0 评论 496 浏览 评分:10.0
题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a/b…… 题解列表 2024年09月07日 0 点赞 0 评论 787 浏览 评分:9.9
题解 2764: 带余除法 摘要:##########################################a,b=map(int,input().split(" "))print(int(a/b),end=' &#…… 题解列表 2024年07月04日 2 点赞 0 评论 844 浏览 评分:0.0
2764: 带余除法 摘要:解题思路: C语言中 “/”是整除的运算符 “%”是取余的运算符注意事项: 注意代码的规范性参考代码:#include<stdio.h> int main() { int x,y; …… 题解列表 2024年02月26日 2 点赞 0 评论 1323 浏览 评分:9.9
编写题解 2764: 带余除法 摘要:解题思路:注意事项:除数不能为0'//'为取整除,得到商的整数部分(向下取整)参考代码:a,b=map(int,input().split())while b!=0: print…… 题解列表 2024年02月23日 0 点赞 0 评论 818 浏览 评分:6.0
编写题解 2764: 带余除法 摘要:解题思路:编写题解 2764: 带余除法注意事项:参考代码:x, y = map(eval,input().split())print(x//y,x%y,sep=" ")…… 题解列表 2023年12月16日 0 点赞 0 评论 533 浏览 评分:0.0
题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a/b…… 题解列表 2023年12月05日 0 点赞 0 评论 545 浏览 评分:9.9
题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a/b…… 题解列表 2023年12月02日 0 点赞 0 评论 530 浏览 评分:9.9
编写题解 2764: 带余除法 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年11月27日 0 点赞 0 评论 545 浏览 评分:9.9