开心的啤酒肚在看机会
开心的啤酒肚在看机会
全部文章
分类
归档
标签
去牛客网
登录
/
注册
开心的啤酒肚在看机会的博客
全部文章
(共5篇)
题解 | #Sum of Factorials#
#include <cstdio> using namespace std; int a[11]; int main() { a[0] = 1; //a[0]也要算进去! a[1] = 1; for (int i = 2; i < 11; i++) ...
2023-03-18
0
298
题解 | #数字之和#
#include<cstdio> int sum(int x) { int sum = x % 10; while (x % 10 != x) { x /= 10; sum += x % 10; } return sum; ...
2023-03-16
0
337
题解 | #找最小数#
#include<cstdio> #include<algorithm> using namespace std; struct pos{ int x; int y; }arr[1001]; bool comp(pos a,pos b){ if(a.x...
2023-03-16
0
251
题解 | #a+b#
#include<cstdio> int main() { int x, y; while (scanf("%d%d", &x, &y) != EOF) { printf("%d\n", x + y); } return 0; }
2023-03-15
0
322
题解 | #小白鼠排队#
#include<cstdio> #include<string> #include<iostream> #include<algorithm> using namespace std; struct Mouse{ int weight; ...
2023-03-15
1
210