不做人了
不做人了
全部文章
分类
题解(7)
归档
标签
去牛客网
登录
/
注册
不做人了的博客
全部文章
(共6篇)
查表
int ans[] = { 11,31,41,61,71,101,131,151,181,191,211,241,251,271,281,311,331,401,421,431,461,491,521,541,571,601,631,641,661,691,701,751,761,811,821,8...
2021-03-15
5
1091
C++日期通用
#include <iostream> using namespace std; #define isLeapYear(n) ((n%4==0 && n%100 !=0)|| n%400 == 0) int leap_months[12] = { 31,29,31,30...
2021-03-10
0
616
C++日期通用
#include <iostream> using namespace std; int months_avg[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; int months_leap[12] = { 31, 2...
2021-03-08
0
594
experienced
#include <iostream> using namespace std; #define isLeapYear(x) ((x%4==0 && x%100!=0)||(x%400 == 0)) int leap_months[] = { 31,28,31,30,...
2021-03-06
0
547
C++ split
vector<string> split(string str,string pattern) { vector<string> v; int pos = str.find(pattern); int size = str.size(); //...
2021-03-01
0
690
C++进制通用
#include <iostream> #include <algorithm> using namespace std; string conversion(string num, int m, int n) { string ret=""; //栈 f...
2021-02-17
1
522