1 2 3 4 5 ··· 10 下一页
摘要: the Art of coding 阅读全文
posted @ 2020-05-02 14:25 xlinsist 阅读(219) 评论(0) 推荐(0)
摘要: 博客搬迁 阅读全文
posted @ 2022-01-31 21:54 xlinsist 阅读(82) 评论(0) 推荐(0)
摘要: The 2021 ICPC Asia Regionals Online Contest (II),PTA #include <bits/stdc++.h> //#define endl '\n' #define lose {printf("NO\n");return;} #define win {p 阅读全文
posted @ 2021-09-30 11:42 xlinsist 阅读(51) 评论(0) 推荐(0)
摘要: 字符串最小表示法 int getPos(string s,int op)//zero represent the least representation, while one represent the largest { int i=0,j=1; int len=s.size(); while 阅读全文
posted @ 2021-01-19 16:39 xlinsist 阅读(93) 评论(0) 推荐(0)
摘要: 字符操作 import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; public class hello3 { public static void main(String[] args) { 阅读全文
posted @ 2020-12-02 22:09 xlinsist 阅读(67) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> //#define endl '\n' #define lose {printf("NO\n");return;} #define win {printf("YES\n");return;} #define all(A) (A).begin(),(A 阅读全文
posted @ 2020-10-22 20:26 xlinsist 阅读(127) 评论(0) 推荐(0)
摘要: //template const double eps=1e-7; const double pi=3.14159265; struct Point { double x, y; Point( double x = 0, double y = 0 ):x(x), y(y) { } }; typede 阅读全文
posted @ 2020-10-10 12:57 xlinsist 阅读(134) 评论(0) 推荐(0)
摘要: maybe or maybe not, that is a question 阅读全文
posted @ 2020-10-03 18:36 xlinsist 阅读(65) 评论(0) 推荐(0)
摘要: //https://nanti.jisuanke.com/t/A2022 #include <bits/stdc++.h> //#define endl '\n' #define lose {printf("NO\n");return;} #define win {printf("YES\n");r 阅读全文
posted @ 2020-09-28 16:55 xlinsist 阅读(75) 评论(0) 推荐(0)
摘要: just a template 阅读全文
posted @ 2020-09-27 22:21 xlinsist 阅读(110) 评论(0) 推荐(0)
摘要: struct myComp { bool operator() (const int &a, const int &b) { if (ac[a]<ac[b]) return a; else if (ac[a]==ac[b]&&pen[a]>=pen[b]) return a; return fals 阅读全文
posted @ 2020-09-26 14:03 xlinsist 阅读(105) 评论(0) 推荐(0)
1 2 3 4 5 ··· 10 下一页