12 2016 档案

摘要:知乎上看到一个小球弹跳的代码,觉得挺有意思的,就打出来自己看看 https://zhuanlan.zhihu.com/p/24633092 #include<stdio.h>//上下跳动#include<stdlib.h>int main(){ int i,j; int x=5,y=10;//小球坐 阅读全文
posted @ 2016-12-30 17:48 小小姐 阅读(309) 评论(0) 推荐(0)
摘要:我自己写的代码 #include<iostream>#include<algorithm>using namespace std;int main(){ int N,a[100],b[100],Q,flag; int k=1; while(cin>>N>>Q) { for(int i=0;i<N;i 阅读全文
posted @ 2016-12-25 21:54 小小姐 阅读(131) 评论(0) 推荐(0)