
CSP
beckyUp
他强任他强,过题我在行
展开
-
第十三次csp 第一题 跳一跳
#include <iostream> #include <bits/stdc++.h> using namespace std; int ans=0; int main() { int s; int t=0; int flag=0; int base=1; while(cin>>s&&s) { ...原创 2018-04-03 21:17:10 · 1067 阅读 · 0 评论 -
第十三次csp 第二题 碰撞的小球
模拟 #include <bits/stdc++.h> using namespace std; int n,l,t; struct ball { int pos,v; void init(int p) { pos=p; v=1; } void run() { pos+=v; ...原创 2018-04-03 22:44:18 · 467 阅读 · 1 评论