結果
| 問題 |
No.1032 数数え
|
| ユーザー |
ninoinui
|
| 提出日時 | 2020-06-27 10:57:56 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 229 ms / 2,000 ms |
| コード長 | 207 bytes |
| コンパイル時間 | 3,775 ms |
| コンパイル使用メモリ | 197,744 KB |
| 最終ジャッジ日時 | 2025-01-11 12:40:38 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int N, M, L;
cin >> N >> M;
map<int, int> MA;
while (cin >> L) MA[L]++;
for (int i = 1; i <= M; i++) cout << i << " " << MA[i] << "\n";
}
ninoinui