摘要: 「CF 1514A」Perfectly Imperfect Array Link. 就看序列中是否存在不为平方数的元素即可。 #include<bits/stdc++.h> using namespace std; typedef long long ll; template<typename T> 阅读全文
posted @ 2021-05-18 20:50 cirnovsky 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 「CF 1525A」Potion-making Link. 显然。 #include<bits/stdc++.h> typedef long long ll; template<typename T>void sf(T &x){x=0;T f=0;char c=getchar();for(;c<'0 阅读全文
posted @ 2021-05-18 20:39 cirnovsky 阅读(142) 评论(0) 推荐(0) 编辑