結果
| 問題 | No.8016 unordered_mapなるたけ落とすマン |
| ユーザー |
taba
|
| 提出日時 | 2017-05-20 07:48:30 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 533 bytes |
| コンパイル時間 | 1,488 ms |
| コンパイル使用メモリ | 132,600 KB |
| 最終ジャッジ日時 | 2025-01-05 00:28:38 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 TLE * 42 |
ソースコード
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cassert>
#include <random>
#include <vector>
#include <algorithm>
#include <array>
#include <functional>
#include <utility>
#include <regex>
#include <tuple>
#include <map>
#include <set>
#include <iostream>
using namespace std;
int main(){
int n,m;
-scanf("%d%d",&n,&m);
vector<int64_t> a(n),b(m);
for(auto&i:a){
-scanf("%ld",&i);
}
for(auto&i:b){
-scanf("%ld",&i);
}
for(auto i:b){
printf("%lu ",count(a.begin(),a.end(),i));
}
puts("");
return 0;
}
taba