回文数(一) (C语言代码) 摘要:#include <stdio.h> int main() { int n,num,renum,sum,resum,i,t,count; scanf("%d",&n); for (…… 题解列表 2017年11月04日 3 点赞 1 评论 2038 浏览 评分:7.3
Manchester- A+B for Input-Output Practice (V) 摘要:解题思路:最外层循环控制要求和的数的组数;里层控制求和;注意事项:输出要有换行符;每次重新计算时,把上次计算的和置0;参考代码:#include<stdio.h> int main() { in…… 题解列表 2017年11月24日 20 点赞 1 评论 1837 浏览 评分:7.3
WU-数字整除 (C++代码) 摘要:#include<iostream> using namespace std; int main() { char str[10101]; while(cin>>str) { …… 题解列表 2018年02月24日 6 点赞 0 评论 2360 浏览 评分:7.3
矩阵乘法 (C语言代码) 摘要:解题思路:注意事项:本题主要考察线性代数的知识。注意一些特殊情况。参考代码:#include<stdio.h>int juzheng[3][30][30];int n;int js(int i,int…… 题解列表 2017年12月04日 0 点赞 0 评论 2190 浏览 评分:7.3
WU-A+B for Input-Output Practice (VI) (C语言代码) 摘要:参考代码:#include<stdio.h> void sum(int n) { int sum=0,a,i=0; while(i<n) { scanf("%d",&a);…… 题解列表 2017年12月16日 3 点赞 0 评论 1762 浏览 评分:7.3
我美吗! 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a[1000],n,i,j,money; while(scanf("%d",&n)!=…… 题解列表 2017年12月19日 1 点赞 3 评论 1428 浏览 评分:7.3
校门外的树 (C语言代码) 用一个数组储存常数 摘要:解题思路:冥思苦想不知道怎么把几个输入合并,没办法就用了笨笨的方法,合并法之后再想一下注意事项:标记进数组千万不要else 再标记,我刚掉了坑参考代码:#include<stdio.h>int mai…… 题解列表 2017年12月20日 0 点赞 0 评论 1354 浏览 评分:7.3
蓝桥杯算法提高VIP-数字黑洞 (C++代码) 摘要:#include<iostream> #include<algorithm> using namespace std; int compare(int a,int b){ return…… 题解列表 2017年12月23日 1 点赞 1 评论 1638 浏览 评分:7.3
守望者的逃离 (C++代码) 摘要:解题思路:注意事项:参考代码:根据题意,守望者要在最短时间走最多的路程,而每秒有三种决策我们不妨将跑步和使用闪烁法术分开处理上代码#include <cstdio>#include <algorith…… 题解列表 2017年12月26日 0 点赞 0 评论 1627 浏览 评分:7.3
数字整除 (C语言描述——12行搞定) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ for( char s[102]; scanf("%s",s)==1 && !(s[0]=='0…… 题解列表 2017年12月31日 1 点赞 2 评论 1461 浏览 评分:7.3