1008: [编程入门]成绩评定(C语言三目运算) 摘要:突发奇想用三目运算符来解这道题 ```c #include int main() { int a; scanf("%d",&a); char b; b …… 题解列表 2021年07月04日 0 点赞 0 评论 379 浏览 评分:6.0
简单字符的输入输出 摘要:解题思路:对五个字符变量声明赋值以后连续输入五个变量,对五个字符变量按照密码要求进行运算转换后将结果输出;注意事项:注意格式化输入输出函数的书写方式参考代码:#include<stdio.h> in…… 题解列表 2021年07月04日 0 点赞 0 评论 387 浏览 评分:7.3
[编程入门]二维数组的转置 python初学 摘要:解题思路: 对于一个数组, 输出时 只需将 行变为列,列变为行即可注意事项: python 二维数组的输入参考代码:a&nb 题解列表 2021年07月04日 0 点赞 2 评论 630 浏览 评分:9.9
题解 1049: [编程入门]结构体之时间设计 摘要:注意闰年的判断方法和switch的应用 #include #include #include int main() { …… 题解列表 2021年07月04日 0 点赞 0 评论 292 浏览 评分:0.0
一行!一行!一行!一行!一行!一行! 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;main(){ for(int a,b;cin>>a>>b;cout<<(a+b)<<end…… 题解列表 2021年07月04日 0 点赞 0 评论 230 浏览 评分:0.0
题解 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>void Cat(char a1[],char b1[]){ gets(a1); g…… 题解列表 2021年07月03日 0 点赞 0 评论 305 浏览 评分:0.0
题解 1031: [编程入门]自定义函数之字符串反转 摘要: #include #include #include void turn(char str[]) { int a,i; …… 题解列表 2021年07月03日 0 点赞 0 评论 242 浏览 评分:0.0
进制之间的相互转换 摘要:解题思路:设定输出函数的输出标准将输入的数据转换为其它进制形式注意事项:不要忘记八进制和十六进制的前缀(比如八进制将%x改为%#x就可输出带0x前缀的数据形式)、输出数据间的空格、最后的换行符参考代码…… 题解列表 2021年07月03日 0 点赞 0 评论 1037 浏览 评分:9.9
Hello World! 开始C语言 摘要:解题思路:注意事项:前两个printf()函数需要使用换行符参考代码:#include<stdio.h> int main() { printf("******************…… 题解列表 2021年07月03日 0 点赞 0 评论 389 浏览 评分:6.0
2033: 网络互通(C语言)并查集 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> // 初始化并查集 int *InitUFS(int size) { i…… 题解列表 2021年07月03日 0 点赞 0 评论 630 浏览 评分:6.0