勋谦
勋谦
全部文章
分类
归档
标签
去牛客网
登录
/
注册
勋谦的博客
全部文章
(共77篇)
题解 | #今年的第几天?#
#include <iostream> using namespace std; int daytab[2][13] = { { 0,31,28,31,30,31,30,31,31,30,31,30,31 }, { 0,31,29,31,30,31,30,31,31,30,31...
2024-04-23
0
128
题解 | #日期差值#直接算日期就行
#include <iostream> #include <math.h> using namespace std; int daytab[2][13] = { { 0,31,28,31,30,31,30,31,31,30,31,30,31 }, { 0,31,29,...
2024-04-23
0
141
题解 | #日期累加#想了很久了
#include <iostream> using namespace std; int daytab[2][13] = { {0,31,28,31,30,31,30,31,31,30,31,30,31 }, {0,31,29,31,30,31,30,31,31,30,31,3...
2024-04-23
0
135
题解 | #打印日期#超级简单
#include <iostream> using namespace std; int daytab[2][13] = { {0,31,28,31,30,31,30,31,31,30,31,30,31}, {0,31,29,31,30,31,30,31,31,30,31,30,...
2024-04-23
0
114
题解 | #Old Bill#非常简单的枚举
#include <iostream> using namespace std; int main(){ int cnt; cin >> cnt; int x,y,z,sum; bool flag = false; cin >> x; ...
2024-04-22
0
124
题解 | #百钱买百鸡问题#超级简单
#include <iostream> using namespace std; int main(){ int n ; cin >> n; for(int i = 0;i <= 20;i ++){ for(int j = 0;j <= 33; ...
2024-04-22
0
143
题解 | #与7无关的数#手写函数
#include <iostream> using namespace std; bool divBy7(int x){ if(x % 7 == 0)return true; while(x){ int num; num = x % 10; if(num == 7)...
2024-04-22
0
126
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页