hl杨小杨
hl杨小杨
全部文章
题解
归档
标签
去牛客网
登录
/
注册
hl杨小杨的博客
全部文章
/ 题解
(共8篇)
题解 | #小乐乐改数字#
#include <iostream> using namespace std; int main() { int base = 1; int cur = 0; int num = 0; ...
C++
C
2022-04-22
0
291
题解 | #判断一个链表是否为回文结构#
/** * struct ListNode { * int val; * struct ListNode *next; * }; * *...
C
2022-04-21
0
367
题解 | #删除链表的节点#
/** * struct ListNode { * int val; * struct ListNode *next; * }; * *...
C
2022-04-09
3
346
题解 | #字母大小写转换#
#include <stdio.h> #include <ctype.h> int main(void) { char ch; while (scanf("%c", &ch) != EOF) { if (islower(ch)) putcha...
C
2021-12-12
0
353
题解 | #争夺前五名#
#include <stdio.h> int main(void) { int arr[100] = { 0 }; int sz = 0; scanf("%d", &sz); int i = 0; for (i = 0; i < sz; i++) scanf("%...
C
2021-12-12
0
345
题解 | #判断字母#
#include <stdio.h> #include <ctype.h> int main(void) { char ch; ch = getchar(); if (isalpha(ch)) puts("YES"); else puts("NO"); ...
C
2021-12-08
0
333
题解 | #进制A+B#
#include <stdio.h> int main(void) { int a; int b; scanf("%x %o", &a, &b); printf("%d\n", a + b); return 0; }
C
2021-12-08
0
282
题解 | #KiKi和酸奶#
#include <stdio.h> int main(void) { float n = 0.0f; float h = 0.0f; float m = 0.0f; scanf("%f %f %f", &n, &h, &m); printf("%d\n", ...
C
2021-12-08
0
262