摘要:
Code #include<cstdio> #include<iostream> #include<cstring> using namespace std; int tot=1,h[500000],n,m,s,t,flow[500000],up[500000],q[500000],dis[5000 阅读全文
posted @ 2020-08-13 21:20
RiverSheep
阅读(103)
评论(0)
推荐(0)
摘要:
Description Input Output 输出m行,每行一个整数,代表输入中每次程序变化后系统所需要的空闲内存单位数。 Sample Input 2 3 1 4 1 4 2 2 1 2 1 1 1 1 1 Sample Output 2 3 1 Data Constraint 对于30%的数 阅读全文
posted @ 2020-08-13 20:38
RiverSheep
阅读(114)
评论(0)
推荐(0)
摘要:
壕壕的寒假作业 Description Input Output 输出n行。第i行输出两个整数,分别表示第i份作业最早完成的时刻以及最晚完成的时刻,两个整数之间以一个空格间隔。 Sample Input 4 4 3 4 5 6 1 2 1 3 2 4 3 4 Sample Output 3 3 7 阅读全文
posted @ 2020-08-13 20:24
RiverSheep
阅读(75)
评论(0)
推荐(0)
摘要:
阶乘 Description Input 第一行有一个正整数T,表示测试数据的组数。 接下来的T行,每行输入两个十进制整数n和base。 Output 对于每组数据,输出一个十进制整数,表示在base进制下,n!结尾的零的个数。 Sample Input 2 10 10 10 2 Sample Ou 阅读全文
posted @ 2020-08-13 20:21
RiverSheep
阅读(268)
评论(0)
推荐(0)

浙公网安备 33010602011771号