hdu 1494
摘要:
地址:http://acm.hdu.edu.cn/showproblem.php?pid=1494题意:中文……mark:dp[i][j]代表第i个时间段,有j数量的油,油的数量0~14.代码:#include <stdio.h>#include <string.h>#define N 0x3f3f3f3fint dp[2][15];int a[110][2];int min(int a, int b) {return a < b ? a : b;}int main(){ int l,n,min1; int i,j; while(~scanf("%d%d 阅读全文
posted @ 2012-07-27 22:07 andre_joy 阅读(157) 评论(0) 推荐(0) 编辑