菜逼学编程
菜逼学编程
全部文章
分类
归档
标签
去牛客网
登录
/
注册
菜逼学编程的博客
全部文章
(共40篇)
题解 | #字符转ASCII码#
个人感觉,强制转换一下,更好.int main(){ char a; scanf("%c",&a); printf("%d\n",a)...
2022-11-02
0
171
题解 | #牛牛的字符菱形#
个人感觉如果刚学会循环,这个题做的话还是难得,先整体控制,再逐行打印int main(){ char a ; scanf("%c",&a); &nb...
2022-11-02
0
242
题解 | #牛牛的字符矩形#
还是自己说一下,刚开始学的时候一定要认真学,学一遍肯定吃不透,学完之后,多敲多理解.作为现在的我,非常后悔,对一些学的时候大手大脚,现在对一些理解有误`.int main(){ char a ; &nb...
2022-11-02
0
267
题解 | #二分查找-I#
刚学c语言,题目意思没弄懂,不知道为啥,,把主函数写上就错.int search(int* nums, int numsLen, int target) { if(numsLen&nb...
2022-10-30
0
227
题解 | #成绩输入输出#
#include <stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&...
2022-10-29
0
202
题解 | #printf的返回值#
虽然通过了,但感觉还是有问题,应该把双引号也打印出来吧!#include <stdio.h>int main(){ int ret = printf("Hello world!");...
2022-10-29
0
208
题解 | #小乐乐算多少人被请家长#
为啥不换行,有点不明白,这样好像不能格式化输入.#include <stdio.h>int main(){ int n = 0; int ...
2022-10-29
0
261
题解 | #包含数字9的数#
#include <stdio.h>int main(){ int i = 0; int n = 0; &...
2022-10-29
0
276
题解 | #魔法数字变换#
#include <stdio.h>int main() { int n = 0; int i = 0;&...
2022-10-29
1
234
题解 | #数位之和#
#include <stdio.h>int main(){ int n = 0; int sum = 0; ...
2022-10-29
0
182
首页
上一页
1
2
3
4
下一页
末页