摘要:
题目详情 - L2-013 红色警报 (25 分) (pintia.cn) #include<iostream> using namespace std; const int N=1e5+10; int p[N]; bool st[N]; struct mess{ int x,y; }v[N]; i 阅读全文
posted @ 2022-04-22 16:29
小志61314
阅读(52)
评论(0)
推荐(0)
摘要:
题目详情 - L2-015 互评成绩 (25 分) (pintia.cn) 结构体排序: #include<iostream> #include<algorithm> using namespace std; const int N=1e5+10; double a[N]; bool cmp(dou 阅读全文
posted @ 2022-04-22 15:23
小志61314
阅读(34)
评论(0)
推荐(0)
摘要:
题目详情 - L2-009 抢红包 (25 分) (pintia.cn) 结构体排序,23分... #include<iostream> #include<algorithm> using namespace std; const int N=1e5+10; struct mess{ double 阅读全文
posted @ 2022-04-22 11:10
小志61314
阅读(16)
评论(0)
推荐(0)
摘要:
题目详情 - L2-008 最长对称子串 (25 分) (pintia.cn) STL:21分,另外的4分超时.. #include<iostream> #include<algorithm> using namespace std; int main(){ string str; getline( 阅读全文
posted @ 2022-04-22 10:38
小志61314
阅读(59)
评论(0)
推荐(0)
浙公网安备 33010602011771号