矩阵加法 (C语言代码) 摘要:解题思路:注意事项:输出数与数之间只有一个空格。参考代码:#include<stdio.h>void main(){ int a,b,c,d,e; int ask1[100][100]={0}; in…… 题解列表 2017年10月17日 0 点赞 0 评论 2291 浏览 评分:7.3
小九九 (C语言描述,不看要求真坑爹) 摘要:#include<stdio.h> void main() { int i,o; for (i=1;i<=9;i++) { for (o=1;o<=…… 题解列表 2017年10月21日 2 点赞 2 评论 1302 浏览 评分:7.3
淘淘的名单 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ char a[100000][5]; int n,i; …… 题解列表 2017年10月22日 1 点赞 1 评论 1906 浏览 评分:7.3
找出最长的字符串来 (C语言代码) 摘要:解题思路:输出最长的用strlen()函数算出长度。一个个比较。注意事项:c语言中,没有字符串类型,用字符数组处理字符串。参考代码:#include<stdio.h>#include<string.h…… 题解列表 2017年10月25日 2 点赞 0 评论 2568 浏览 评分:7.3
printf基础练习 (C语言代码) 摘要:解题思路:1.首先确定8,16进制在C语言中的表示符号:%o,%x。 2.确定正常情况下如何表示8,16进制:0+数字;0x+数字。 3.所以在编写时就有:printf("0%o 0x…… 题解列表 2017年10月28日 3 点赞 1 评论 2762 浏览 评分:7.3
幸运数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int M=500000;int a[M],count;void Lucky_nu…… 题解列表 2017年11月01日 1 点赞 0 评论 3912 浏览 评分:7.3
孤独的骑士 (C语言代码) 摘要:#include <stdio.h> int main() { char location; int n,i,z,h,count; scanf("%d",&n); getcha…… 题解列表 2017年11月04日 1 点赞 0 评论 1992 浏览 评分:7.3
回文数(一) (C语言代码) 摘要:#include <stdio.h> int main() { int n,num,renum,sum,resum,i,t,count; scanf("%d",&n); for (…… 题解列表 2017年11月04日 3 点赞 1 评论 2433 浏览 评分:7.3
Manchester- A+B for Input-Output Practice (V) 摘要:解题思路:最外层循环控制要求和的数的组数;里层控制求和;注意事项:输出要有换行符;每次重新计算时,把上次计算的和置0;参考代码:#include<stdio.h> int main() { in…… 题解列表 2017年11月24日 20 点赞 1 评论 2296 浏览 评分:7.3
WU-数字整除 (C++代码) 摘要:#include<iostream> using namespace std; int main() { char str[10101]; while(cin>>str) { …… 题解列表 2018年02月24日 6 点赞 0 评论 2763 浏览 评分:7.3