VP比赛链接 :
1 . 九进制 转 十进制
直接模拟就好了
#include <iostream>
using namespace std;
int main()
{
// 请在此输入您的代码
int x = 2+2*9+2*81*9;
cout << x << endl ;
return 0;
}
2 . 顺子日期
枚举出每个情况即可 : 总共14个 ;
#include <iostream>
using namespace std;
int main()
{
// 请在此输入您的代码
// 0120 0121 .. 29 : 10
// 1月 : 10
// 1012
// 1123
//1230
// 1231
cout << 14 << endl ;
return 0;
}
3 . 刷题统计
模拟即可 :
#include<bits/stdc++.h>
#define IOS ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define endl '\n'
#define lowbit(x) (x&(-x))
#define sz(a) (int)a.size()
#define pb push_back
#define all(a) a.begin(), a.end()
#define int long long
typedef long long LL;
using namespace std;
inline void solve(){
LL a , b