- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 台州Acm-搬桌子
#include #includeusing namespace std;int main(){ int n,m,i,j,s,r,max,temp;cin>>n;getchar();while(n--){ int stable[200]={0}; max=0; cin>>m; for(i=1;i {
2014-10-21 23:03:16 962
原创 请写出一个类,该类覆盖了toString()方法,返回一个任意非空字符串。
public class Hello{ public String toString(){ return ".*"; }}
2014-11-22 11:11:29 522
原创 会议安排-台州题
#include #include#includeusing namespace std;struct node{ int s; int e;};node meet[1000];bool visited[1000];bool cmp(node a,node b){ if(a.s!=b.s) return a.s
2014-10-26 22:09:16 382
原创 c++ sort函数与qsort函数
qsort标准函数:#include#includeusing namespace std;int cmp(const void *a,const void *b){ return *(int *)a -*(int *)b;}int main(){ int n; int i,j,tian[1005],king[1005]; int tmax,kmax
2014-10-26 13:37:30 377
原创 台州ACM-搬桌子
题目链接:http://acm.tzc.edu.cn/acmhome/game.do?&method=gameProblemDetail&gameId=1&levelId=3&number=2#include #includeusing namespace std;int main(){ int n,m,i,j,s,r,max,temp;cin>>n;getcha
2014-10-21 23:12:53 690
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人