This documentation is automatically generated by online-judge-tools/verification-helper
#define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_C"
#include "bits/stdc++.h"
using namespace std;
using i64 = long long;
#include "../lib/classes/hashmap.cpp"
signed main(){
ios_base::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
vector<int> type(n);
vector<int> v(n, 0);
string l = "0ACGT";
for(int i = 0; i < n; ++i){
string s, t;
cin >> s >> t;
type[i] = (s == "find");
int k = 1;
for(int j = 0; j < t.size(); ++j, k *= 5)
v[i] += l.find(t[j]) * k;
}
HashMap<int, int> h;
for(int i = 0; i < n; ++i){
if(type[i] == 0){
h.add(v[i], 1);
}
else{
printf(h.find(v[i]).second ? "yes\n" : "no\n");
}
}
}
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.9.0/x64/lib/python3.9/site-packages/onlinejudge_verify/documentation/build.py", line 71, in _render_source_code_stat
bundled_code = language.bundle(stat.path, basedir=basedir, options={'include_paths': [basedir]}).decode()
File "/opt/hostedtoolcache/Python/3.9.0/x64/lib/python3.9/site-packages/onlinejudge_verify/languages/cplusplus.py", line 193, in bundle
bundler.update(path)
File "/opt/hostedtoolcache/Python/3.9.0/x64/lib/python3.9/site-packages/onlinejudge_verify/languages/cplusplus_bundle.py", line 399, in update
self.update(self._resolve(pathlib.Path(included), included_from=path))
File "/opt/hostedtoolcache/Python/3.9.0/x64/lib/python3.9/site-packages/onlinejudge_verify/languages/cplusplus_bundle.py", line 258, in _resolve
raise BundleErrorAt(path, -1, "no such header")
onlinejudge_verify.languages.cplusplus_bundle.BundleErrorAt: bits/stdc++.h: line -1: no such header