2013年9月8日

Codeforces Round #105 (Div. 2) //缺E

摘要: --------------A. Insomnia cure---求1~n中能被klmn整除的数的个数。---#include using namespace std;int main(){ int k,l,m,n,d; cin>>k>>l>>m>>n>>d; int sum=0; for (int i=1;iusing namespace std;const double eps=1e-8;int main() { int vp,vd,t,f,c; cin>>vp>>vd>>t>>f& 阅读全文

posted @ 2013-09-08 21:52 电子幼体 阅读(154) 评论(0) 推荐(0) 编辑

Codeforces Round #104 (Div. 2) //缺E

摘要: ----------------A. Lucky Ticket---判断给出的数字是不是两半和相等的幸运数字。---#include using namespace std;int main(){ int n; char s[111]; cin>>n>>s; bool ok=true; for (int i=0;i#include using namespace std;bool check(int a,int b){ int n=0; int i=1; while (a>0){ int t=a%10; a/=10; ... 阅读全文

posted @ 2013-09-08 21:38 电子幼体 阅读(133) 评论(0) 推荐(0) 编辑

导航