题解列表
不用数组的和指针的方式完成这道题-《C语言》
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
#include<string.h>
int main()
{
char arr;
while((arr = g……
蛇形矩阵(两个for循环)
摘要:解题思路:1 3 6 10 15 2 5 9 14 //每一行都等于对应上一行的数减一,如第一行的2等于第一行的3-1;5=6-1;9=10-1;14=15-1……
[编程入门]三个数字的排序
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main( ){int a, b, c;cin>>a>>b>>c;if(a>b){in……
吾乃元始天尊!!1470: 蓝桥杯基础练习VIP-时间转换
摘要:```c
#include
int main()
{
int t;
scanf("%d",&t);
int h,m,s;
h=t/3600;
……
吾乃元始天尊!!!1133: C语言训练-求1+2!+3!+...+N!的和
摘要:```cpp
#include
using namespace std;
int main()
{
long long i,n,sum=1,m=0;
scanf("%d",&n);
……
吾乃元始天尊!!!1122: C语言训练-亲密数
摘要:```c
#include
int main()
{
printf("(220,284)(1184,1210)(2620,2924)");
return 0;
}
//为……
吾乃元始天尊!!!1121: C语言训练-8除不尽的数
摘要:```c
#include
int main()
{
printf("1993\n");
return 0;
}
//还是那句话,我略微出手,便已是这一分段的极限了!!!……
吾乃元始天尊!!!1118: Tom数
摘要:```cpp
#include
using namespace std;
string s1;
int main()
{
int i,sum=0;
while(cin>>s1)
……
虚晃一枪-《我还是用了这个函数》
摘要:解题思路:注意事项:参考代码:#pragma warning(disable : 4996)
#include<stdio.h>
#include<string.h>
void my_strca……