题解列表
慢慢看,慢慢理解,你也能做到,
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a=0,n=0;int answer=0;int main(){ ……
整数序列的元素最大跨度值 ———— STL解法
摘要:解题思路:使用具有C++特色的vector<>容器来代替数组使用,同时使用迭代器,调用STL……
[编程入门]电报加密
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char str[30……
1041: [编程入门]宏定义之找最大数
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define MAX(a, b, c)\{\ printf("%.3lf"……
[编程入门]实数的打印
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float num = 0; scanf(&qu……
[编程入门]宏定义之闰年判断
摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define LEAP_YEAR(year)\{\ if((year % 4 == 0 &am……
用数组进行数字逆序输出
摘要:解题思路:非常简单的用两个循环将数组输入与输出出来注意事项:用空格将打印输出的数组隔开参考代码:#include<stdio.h>int main(){ int arr[10]; int ……