暴力枚举技巧
暴力
Hazelxcf
jmp 0:0x7c00
展开
-
数学考试
传送门#include <bits/stdc++.h>using namespace std;#define int long longconst int maxn = 2e5 + 10;int t,n,k,a[maxn];signed main(){ ios::sync_with_stdio(0); cin.tie(0);cout.tie(0); cin >> t; while(t--){ cin >>原创 2021-04-02 10:40:25 · 75 阅读 · 0 评论 -
糖糖别胡说,我真的不是签到题目
传送门#include <bits/stdc++.h>using namespace std;#define int long longconst int maxn = 5e4 + 10;int t,n,m;struct node{ int a,b;}e[maxn];int c[maxn];signed main(){ ios::sync_with_stdio(0); cin.tie(0);cout.tie(0); cin >>原创 2021-04-02 10:11:26 · 48 阅读 · 0 评论 -
B. New Year and Buggy Bot
传送门#include <bits/stdc++.h>using namespace std;int n,m;char ch[55][55];string str;int bx,by;//int dp[4][2] = {{-1,0},{1,0},{0,1},{0,-1}};int nxt[4] = {0,1,2,3};int main(){ ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);原创 2021-03-29 22:59:38 · 58 阅读 · 0 评论