WU-数字整除 (C++代码) 摘要:#include<iostream> using namespace std; int main() { char str[10101]; while(cin>>str) { …… 题解列表 2018年02月24日 6 点赞 0 评论 1823 浏览 评分:7.3
数字整除 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,j,k,r; int a[10000]; char s[1000…… 题解列表 2018年02月08日 0 点赞 0 评论 826 浏览 评分:0.0
数字整除 (C++代码)大哥,这样为什么不行啊,用vs2017运行可行 摘要:解题思路:常规思路,按照题目描述注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ int len…… 题解列表 2018年02月04日 0 点赞 0 评论 1284 浏览 评分:0.0
数字整除 (C语言代码) 摘要:解题思路:最大数字有100多个零 ,没有这么大还能存进 int 或 long int的 只能用 字符数组 每一个元素存进一位但是怎么 算呢,其实就是一位位的削减 ,看代码吧!#include<stdi…… 题解列表 2018年01月28日 2 点赞 1 评论 793 浏览 评分:0.0
数字整除 (C语言代码) 摘要:解题思路:关键在于如何退出输入注意事项:参考代码:#include<stdio.h>int main(){ int n=1,i,j,a[10],b[10],c[10],d[10]; for(i=…… 题解列表 2018年01月04日 0 点赞 0 评论 712 浏览 评分:0.0
数字整除 (C语言描述——12行搞定) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ for( char s[102]; scanf("%s",s)==1 && !(s[0]=='0…… 题解列表 2017年12月31日 1 点赞 2 评论 1246 浏览 评分:7.3
大哥们我这为什么不行啊。。。。。 摘要:解题思路:看你们都用字符转换,新手感到很慌。。注意事项:参考代码:#include<stdio.h>int v(int n){ int x,y; x=y=n; x/=10; y%=10; if((x-…… 题解列表 2017年12月07日 0 点赞 2 评论 405 浏览 评分:0.0
数字整除 (C语言代码) 摘要:解题思路:根据题目要求来写就行了(我写的具体要求可能和题目的有点偏差)注意事项:参考代码:#include <stdio.h>void main(){ int n; //输入的数 i…… 题解列表 2017年12月03日 0 点赞 2 评论 558 浏览 评分:2.0
数字整除 (C++代码)——(22行代码)真的只需要两个变量就够了 摘要:解题思路:先让我吐槽一会。。。真正的懒人是不会多用一个变量的,,,为什么要用大数除法,为什么要利用题里给的公式,为什么要加上各种指针,,,作为一名合格的懒人,,,我这些都没用,,,我懒我骄傲hhhhh…… 题解列表 2017年07月28日 23 点赞 19 评论 2054 浏览 评分:8.0
数字整除 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int chartoint(char s[]) { char *p,*q; char temp; …… 题解列表 2017年07月25日 0 点赞 0 评论 1011 浏览 评分:0.0