摘要:
题目:http://60.191.162.158:8080/JudgeOnline/showproblem?problem_id=1230代码:#include<stdio.h>
int f[10001]={0},task[10001][3]={0},time[10001][3]={0};
int main()
{ int n,k,i,j,p; scanf("%d%d",&n,&k); p=0; for(i=1;i<=k;i++){ scanf("%d %d",&task[i][1],&task[i][2 阅读全文
摘要:
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
int bs(int a){ if(a<0)return -a; return a;
} int min
(int a,int b,int c){ int temp; temp=b; if(a<b)temp=a; if(c<temp)temp=c; return temp;
}
int f[2001][2001]={0};
int main()
{ int i,j,k,l1,l2... 阅读全文