CodeFoeces-237A

题目

原题链接:A. Free Cash

题意

有n个顾客会在不同的时间来访,但同一时刻柜台只能服务一个客户,问最少需要多少个柜台。

代码

#include
using namespace std;
int main() {
    int n,h,m,t[24][60]={0};
    scanf("%d",&n);
    for(int i=0;i

你可能感兴趣的:(CodeFoeces-237A)