奕奕焖
奕奕焖
全部文章
分类
归档
标签
去牛客网
登录
/
注册
奕奕焖的博客
全部文章
(共6篇)
题解 | #链表分割#
/* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) {} };*/ #include <cstddef> class Partition...
2024-04-21
1
182
题解 | #获得月份天数#
#include <stdio.h> int main() { int year = 0; int month = 0; while (scanf("%d %d", &year, &month) != EOF) { ...
2024-04-12
0
126
题解 | #被5整除问题#
#include<stdio.h> int main() { int M = 0; while (scanf("%d", &M) == 1) { if (M % 5 == 0) printf("YES\n"); els...
2023-10-11
0
161
题解 | #判断两个数的大小关系#
#include<stdio.h> int main() { int a = 0; int b = 0; while(scanf("%d %d", &a, &b)==2) if (a == b) printf("%d=%d\n...
2023-10-11
0
189
题解 | #你是天才吗?#
#include<stdio.h> int main() { int iq = 0; while(scanf("%d", &iq)==1) { if (iq >= 140) printf("Genius"); ...
2023-10-11
0
165
题解 | #计算带余除法#
#include<stdio.h> int main() { int a=0; int b=0; scanf("%d %d",&a, &b); int c=a/b; int d=a%b; printf("%d %d",c,d)...
2023-10-11
0
156