随笔分类 -  思维

摘要:hhhh Code #include<cstdio> #include<vector> using namespace std; vector<int>ans; int main() { int n; scanf("%d",&n); while(n) { n--; if(n%3==0) ans.pu 阅读全文
posted @ 2021-08-14 13:59 莳曳 阅读(26) 评论(0) 推荐(0)
摘要:C. Friends and Gifts time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There are nn friend 阅读全文
posted @ 2020-10-31 20:51 莳曳 阅读(143) 评论(0) 推荐(0)