摘要: A. Split it! 题意对于长度为n的字符串,从开头寻找长度为k的回文,同时中间应当还有字符串 #include <bits/stdc++.h> using namespace std; #define rep(i,a,n) for (int i=a;i<n;i++) #define per( 阅读全文
posted @ 2021-03-12 12:22 大抵一个菜鸡而已 阅读(53) 评论(0) 推荐(0) 编辑
摘要: A I Scream 水题 #include<bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n>>m; if(n+m>=15&&m>=8) printf("1\n"); else if(n+m>=10&&m>=3) pr 阅读全文
posted @ 2021-03-12 11:49 大抵一个菜鸡而已 阅读(99) 评论(0) 推荐(0) 编辑