题解 1074: 数字整除 摘要:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ char s[200]; while(scanf("%s",s)!=EOF) …… 题解列表 2021年07月01日 0 点赞 0 评论 297 浏览 评分:0.0
编写题解 1074: 数字整除 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(int argc, char *argv[]) { int n,i,g; in…… 题解列表 2021年09月23日 0 点赞 0 评论 244 浏览 评分:0.0
数字整除(有点难理解,但是还是能做出来的) 摘要:解题思路:数字太大了,先把它用字符串存起来,最后将每个字符转化为每个数字进行处理。(代码也是看着别人理解,仿照写出来的。)注意事项:如果常规的思路,会只得50分,想意识到问题主要靠什么才是最重要的。参…… 题解列表 2021年12月22日 0 点赞 0 评论 239 浏览 评分:0.0
1074: 数字整除 摘要:解题思路:注意事项:参考代码:while True: try: m = input() if int(m) == 0: &n 题解列表 2022年01月16日 0 点赞 0 评论 145 浏览 评分:0.0
数字整除。。。大数处理方法 摘要:解题思路:大数处理方法:1) 一个字符ch要转化为数字时,应该用这个字符减去'0'。 ch - '0'2) 一个数字num要转化为字符时,应该用这个数字加上'…… 题解列表 2022年02月14日 0 点赞 0 评论 367 浏览 评分:0.0
分类讨论注意初始参数还原为0 摘要:解题思路:利用while循环实现持续输入,在有题目条件写出判断式子注意事项:参考代码:while True: n=int(input()) if n==0: break …… 题解列表 2022年04月01日 0 点赞 0 评论 160 浏览 评分:0.0
还不会的看过来 摘要:解题思路:注意事项:参考代码:a = []while True: s = input() if s == '0': break else: …… 题解列表 2022年04月03日 0 点赞 0 评论 241 浏览 评分:0.0
1074: 数字整除 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int maxn=100+20;char s[maxn];int mai…… 题解列表 2022年05月02日 0 点赞 0 评论 145 浏览 评分:0.0
不用input,用标准输入来输入 摘要:解题思路:一个数%10获得个位上的数,一个数//10获得除了个位上的数注意事项:参考代码:import syswhile True: s_in=sys.stdin contenir=s_i…… 题解列表 2022年05月07日 0 点赞 0 评论 382 浏览 评分:0.0
请各位大神帮我看看哪里错咯 谢谢了 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { unsigned long long a[40]; int i,n,g,y; for(i=…… 题解列表 2022年05月11日 0 点赞 0 评论 174 浏览 评分:0.0