結果
問題 |
No.8016 unordered_mapなるたけ落とすマン
|
ユーザー |
![]() |
提出日時 | 2016-05-22 00:47:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 285 ms / 1,000 ms |
コード長 | 186 bytes |
コンパイル時間 | 1,897 ms |
コンパイル使用メモリ | 175,104 KB |
実行使用メモリ | 11,136 KB |
最終ジャッジ日時 | 2024-10-11 05:03:10 |
合計ジャッジ時間 | 15,524 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 48 |
ソースコード
#include <bits/stdc++.h> using namespace std;int main(){int n,m;cin>>n>>m;map<long,int>r;vector<long>a(n),b(m);for(auto&e:a)cin>>e,++r[e];for(auto&e:b)cin>>e,cout<<r[e]<<' ';cout<<endl;}