結果
| 問題 |
No.3039 配信者
|
| ユーザー |
cokerich
|
| 提出日時 | 2025-03-02 20:38:41 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 250 bytes |
| コンパイル時間 | 1,784 ms |
| コンパイル使用メモリ | 161,708 KB |
| 実行使用メモリ | 17,216 KB |
| 最終ジャッジ日時 | 2025-03-02 20:38:48 |
| 合計ジャッジ時間 | 6,107 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | TLE * 1 -- * 14 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int x,h,b,f;
cin >> x>>h;
int c[h];for(int i=0;i<h;i++)c[i]=0;
for(int i=0;i<x;i++){
cin>>b>>f;
for(int j=b;j<=f;j++)c[j]=c[j]+1;
}
cout << *max_element(c,c+h)<< endl;
return(0);
}
cokerich