最简单解法,一看就会,不会的找我。 摘要:解题思路:注意审题,输出格式一定要正确注意事项:注意a是整形,b是浮点数,c是字符参考代码:#include<stdio.h>int main(){ int a; float b; cha…… 题解列表 2022年10月21日 0 点赞 1 评论 166 浏览 评分:9.9
C语言代码 萨达十大good 摘要:解题思路:jiuzhe 注意事项:scanf ("|") /*"|"也要写进去*/参考代码:#include <stdio.h>int main (){ int a;float b;c…… 题解列表 2021年11月01日 0 点赞 0 评论 165 浏览 评分:0.0
输入输出格式练习(C语言) 摘要:解题思路:1.左对齐方式1printf("%d\n",101010);默认打印格式为左对齐;方式2printf("%-10d\n",101010);在打印数字宽度前面加一个“-”。说明:数字宽度为10…… 题解列表 2021年03月16日 0 点赞 0 评论 510 浏览 评分:9.9
1569: 蓝桥杯算法提高VIP-输入输出格式练习 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a; char c; float f; scanf("%3d",&a); scanf("%f",&f)…… 题解列表 2021年03月03日 0 点赞 0 评论 266 浏览 评分:0.0
蓝桥杯算法提高VIP-输入输出格式练习-题解(C语言代码) 摘要:## 解题思路: 本题是输入输出格式练习,题目的要求为:读入一个3位的整数、一个实数、一个字符。并按格式输出:一个整数占8位左对齐、一个实数占8位右对齐、一个字符 ,并用|隔开。所以直接利用c语言…… 题解列表 2020年07月06日 0 点赞 0 评论 532 浏览 评分:9.9
蓝桥杯算法提高VIP-输入输出格式练习-题解(C语言代码) 摘要:```c #pragma warning(disable:4996) #include #include #include #include int main() { …… 题解列表 2020年02月11日 0 点赞 0 评论 297 浏览 评分:0.0
蓝桥杯算法提高VIP-输入输出格式练习-题解(C语言代码) 摘要: #include "stdio.h" int main() { int a; float b; char c; scanf("%3d %f|%c",&a,&b,&…… 题解列表 2020年02月11日 0 点赞 0 评论 444 浏览 评分:9.9
蓝桥杯算法提高VIP-输入输出格式练习-题解(C语言代码) 摘要:#include int main() { int a; float b; char c; scanf("%3d%f|%c",&a,&b,&c); pr…… 题解列表 2019年07月02日 0 点赞 0 评论 993 浏览 评分:0.0
蓝桥杯算法提高VIP-输入输出格式练习 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int a; double b; char c; scanf("%3d%lf|%c",&…… 题解列表 2019年05月27日 0 点赞 0 评论 427 浏览 评分:0.0
优质题解 详解输入输出格式(C语言代码) 摘要:解题思路:本题考查C语言输入输出格式。scanf和printf是两个相当强大的函数。scanf:测试环境:Windows 10 Dev-C++程序测试:%3d表示接受三位整数例如:scanf("%3d…… 题解列表 2019年01月08日 5 点赞 2 评论 2474 浏览 评分:9.6