小九九 (C语言描述,不看要求真坑爹) 摘要:#include<stdio.h> void main() { int i,o; for (i=1;i<=9;i++) { for (o=1;o<=…… 题解列表 2017年10月21日 2 点赞 2 评论 1230 浏览 评分:7.3
淘淘的名单 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ char a[100000][5]; int n,i; …… 题解列表 2017年10月22日 1 点赞 1 评论 1666 浏览 评分:7.3
找出最长的字符串来 (C语言代码) 摘要:解题思路:输出最长的用strlen()函数算出长度。一个个比较。注意事项:c语言中,没有字符串类型,用字符数组处理字符串。参考代码:#include<stdio.h>#include<string.h…… 题解列表 2017年10月25日 2 点赞 0 评论 2430 浏览 评分: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 评论 2638 浏览 评分:7.3
幸运数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;const int M=500000;int a[M],count;void Lucky_nu…… 题解列表 2017年11月01日 1 点赞 0 评论 3755 浏览 评分: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 评论 1762 浏览 评分: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 评论 2051 浏览 评分:7.3
Manchester- A+B for Input-Output Practice (V) 摘要:解题思路:最外层循环控制要求和的数的组数;里层控制求和;注意事项:输出要有换行符;每次重新计算时,把上次计算的和置0;参考代码:#include<stdio.h> int main() { in…… 题解列表 2017年11月24日 20 点赞 1 评论 1850 浏览 评分:7.3
WU-数字整除 (C++代码) 摘要:#include<iostream> using namespace std; int main() { char str[10101]; while(cin>>str) { …… 题解列表 2018年02月24日 6 点赞 0 评论 2378 浏览 评分:7.3
矩阵乘法 (C语言代码) 摘要:解题思路:注意事项:本题主要考察线性代数的知识。注意一些特殊情况。参考代码:#include<stdio.h>int juzheng[3][30][30];int n;int js(int i,int…… 题解列表 2017年12月04日 0 点赞 0 评论 2197 浏览 评分:7.3