Submission #2893649
Source Code Expand
#define _CRT_SECURE_NO_WARNINGS
#include "bits/stdc++.h"
#include <random>
#include <unordered_map>
#include <unordered_set>
#define LOCAL
using namespace std;
//呪文
#define DUMPOUT cerr
#define dump(...) DUMPOUT<<" ";DUMPOUT<<#__VA_ARGS__<<" :["<<__LINE__<<":"<<__FUNCTION__<<"]"<<endl;DUMPOUT<<" ";dump_func(__VA_ARGS__)
typedef unsigned uint; typedef long long ll; typedef unsigned long long ull; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef pair<double, double> pdd; typedef pair<string, string> pss;
template <typename _KTy, typename _Ty> ostream& operator << (ostream& ostr, const pair<_KTy, _Ty>& m) { ostr << "{" << m.first << ", " << m.second << "}"; return ostr; }
template <typename _KTy, typename _Ty> ostream& operator << (ostream& ostr, const map<_KTy, _Ty>& m) { if (m.empty()) { ostr << "{ }"; return ostr; } ostr << "{" << *m.begin(); for (auto itr = ++m.begin(); itr != m.end(); itr++) { ostr << ", " << *itr; } ostr << "}"; return ostr; }
template <typename _KTy, typename _Ty> ostream& operator << (ostream& ostr, const unordered_map<_KTy, _Ty>& m) { if (m.empty()) { ostr << "{ }"; return ostr; } ostr << "{" << *m.begin(); for (auto itr = ++m.begin(); itr != m.end(); itr++) { ostr << ", " << *itr; } ostr << "}"; return ostr; }
template <typename _Ty> ostream& operator << (ostream& ostr, const vector<_Ty>& v) { if (v.empty()) { ostr << "{ }"; return ostr; } ostr << "{" << v.front(); for (auto itr = ++v.begin(); itr != v.end(); itr++) { ostr << ", " << *itr; } ostr << "}"; return ostr; }
template <typename _Ty> ostream& operator << (ostream& ostr, const set<_Ty>& s) { if (s.empty()) { ostr << "{ }"; return ostr; } ostr << "{" << *(s.begin()); for (auto itr = ++s.begin(); itr != s.end(); itr++) { ostr << ", " << *itr; } ostr << "}"; return ostr; }
template <typename _Ty> ostream& operator << (ostream& ostr, const unordered_set<_Ty>& s) { if (s.empty()) { ostr << "{ }"; return ostr; } ostr << "{" << *(s.begin()); for (auto itr = ++s.begin(); itr != s.end(); itr++) { ostr << ", " << *itr; } ostr << "}"; return ostr; }
template <typename _Ty> ostream& operator << (ostream& ostr, const stack<_Ty>& s) { if (s.empty()) { ostr << "{ }"; return ostr; } stack<_Ty> t(s); ostr << "{" << t.top(); t.pop(); while (!t.empty()) { ostr << ", " << t.top(); t.pop(); } ostr << "}"; return ostr; }
template <typename _Ty> ostream& operator << (ostream& ostr, const list<_Ty>& l) { if (l.empty()) { ostr << "{ }"; return ostr; } ostr << "{" << l.front(); for (auto itr = ++l.begin(); itr != l.end(); ++itr) { ostr << ", " << *itr; } ostr << "}"; return ostr; }
template <typename _KTy, typename _Ty> istream& operator >> (istream& istr, pair<_KTy, _Ty>& m) { istr >> m.first >> m.second; return istr; }
template <typename _Ty> istream& operator >> (istream& istr, vector<_Ty>& v) { for (size_t i = 0; i < v.size(); i++) istr >> v[i]; return istr; }
namespace aux { // print tuple
template<typename Ty, unsigned N, unsigned L> struct tp { static void print(ostream& os, const Ty& v) { os << get<N>(v) << ", "; tp<Ty, N + 1, L>::print(os, v); } };
template<typename Ty, unsigned N> struct tp<Ty, N, N> { static void print(ostream& os, const Ty& value) { os << get<N>(value); } };
}
template<typename... Tys> ostream& operator<<(ostream& os, const tuple<Tys...>& t) { os << "{"; aux::tp<tuple<Tys...>, 0, sizeof...(Tys)-1>::print(os, t); os << "}"; return os; }
template<typename A, size_t N, typename T> inline void Fill(A(&array)[N], const T &val) { std::fill((T*)array, (T*)(array + N), val); }
void dump_func() { DUMPOUT << endl; }
template <class Head, class... Tail> void dump_func(Head&& head, Tail&&... tail) { DUMPOUT << head; if (sizeof...(Tail) == 0) { DUMPOUT << " "; } else { DUMPOUT << ", "; } dump_func(std::move(tail)...); }
#define PI 3.14159265358979323846
#define EPS 1e-8
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n) FOR(i,0,n)
#define all(x) (x).begin(), (x).end()
#define SZ(x) ((int)(x).size())
#define fake false
int main() {
//cin.tie(0);
//ios::sync_with_stdio(false);
set<char> st({ 'a', 'i', 'u', 'e', 'o' });
string W;
cin >> W;
for (int i = 0; i < W.size(); i++)
if (st.find(W[i]) == st.end())
cout << W[i];
cout << endl;
return 0;
}
Submission Info
Submission Time |
|
Task |
B - 罠 |
User |
komori3 |
Language |
C++14 (GCC 5.4.1) |
Score |
100 |
Code Size |
4314 Byte |
Status |
AC |
Exec Time |
1 ms |
Memory |
256 KB |
Judge Result
Set Name |
all |
Score / Max Score |
100 / 100 |
Status |
|
Set Name |
Test Cases |
all |
00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, 00_sample_04.txt, test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt, test_abcdefghijklmnopqrstuvwxyz.txt, test_aeuuoeuuooaoikuaouoo.txt, test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt, test_aioeunu.txt, test_aqahahuqugironiyog.txt, test_ay.txt, test_c.txt, test_cizuci.txt, test_clrhrnbnxmhvvrykgpvsjpylvns.txt, test_clwxebedrzlfbey.txt, test_dfiousakzbw.txt, test_di.txt, test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt, test_eugfblf.txt, test_faumfxzsfpgz.txt, test_glpfsryzkcgbkmytzz.txt, test_hzkx.txt, test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt, test_iyenewigoronadomeni.txt, test_joda.txt, test_k.txt, test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt, test_klaimqrlgrxzgsqkenng.txt, test_mgjpfrkthffctppiueeeouiioeieoa.txt, test_mhfrnzpxkmxjzvmqhwxg.txt, test_mm.txt, test_mvgvrpyghdszgfvznv.txt, test_nu.txt, test_oaiiioieoeiieiuooiueaouuuiw.txt, test_oaqii.txt, test_oit.txt, test_omimujomevadimadom.txt, test_oooooooooolooooooooooooooooooo.txt, test_ooqo.txt, test_ouioiaeiuaoaeiieuuiooeeqo.txt, test_ow.txt, test_pifofawezojisasotuj.txt, test_pn.txt, test_qgqsghgjczftdmvdtrztjdwhcds.txt, test_rxifvbybdsqasoyjdskqwhlstx.txt, test_s.txt, test_taroakpyzmgkbhtklwfbk.txt, test_tkttwgnpjlrkcmwkkcfkjtyb.txt, test_uauoyouaaeoaoeooa.txt, test_uphtuhurtdkmcidxfjtgqtdujblvht.txt, test_uqzghmkf.txt, test_usetumukiwukugekidefupalumimec.txt, test_uueeuoeuviuiieuioeeauuuieeuiee.txt, test_uuueueouaouuiuniaoaaeuaoaa.txt, test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt, test_vokicozoyatekebagajiceb.txt, test_xlsphqfmqrtrtvmpvbgnkr.txt, test_yepelilemapakonarugupabepisoha.txt, test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt |
Case Name |
Status |
Exec Time |
Memory |
00_sample_01.txt |
AC |
1 ms |
256 KB |
00_sample_02.txt |
AC |
1 ms |
256 KB |
00_sample_03.txt |
AC |
1 ms |
256 KB |
00_sample_04.txt |
AC |
1 ms |
256 KB |
test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt |
AC |
1 ms |
256 KB |
test_abcdefghijklmnopqrstuvwxyz.txt |
AC |
1 ms |
256 KB |
test_aeuuoeuuooaoikuaouoo.txt |
AC |
1 ms |
256 KB |
test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt |
AC |
1 ms |
256 KB |
test_aioeunu.txt |
AC |
1 ms |
256 KB |
test_aqahahuqugironiyog.txt |
AC |
1 ms |
256 KB |
test_ay.txt |
AC |
1 ms |
256 KB |
test_c.txt |
AC |
1 ms |
256 KB |
test_cizuci.txt |
AC |
1 ms |
256 KB |
test_clrhrnbnxmhvvrykgpvsjpylvns.txt |
AC |
1 ms |
256 KB |
test_clwxebedrzlfbey.txt |
AC |
1 ms |
256 KB |
test_dfiousakzbw.txt |
AC |
1 ms |
256 KB |
test_di.txt |
AC |
1 ms |
256 KB |
test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt |
AC |
1 ms |
256 KB |
test_eugfblf.txt |
AC |
1 ms |
256 KB |
test_faumfxzsfpgz.txt |
AC |
1 ms |
256 KB |
test_glpfsryzkcgbkmytzz.txt |
AC |
1 ms |
256 KB |
test_hzkx.txt |
AC |
1 ms |
256 KB |
test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt |
AC |
1 ms |
256 KB |
test_iyenewigoronadomeni.txt |
AC |
1 ms |
256 KB |
test_joda.txt |
AC |
1 ms |
256 KB |
test_k.txt |
AC |
1 ms |
256 KB |
test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt |
AC |
1 ms |
256 KB |
test_klaimqrlgrxzgsqkenng.txt |
AC |
1 ms |
256 KB |
test_mgjpfrkthffctppiueeeouiioeieoa.txt |
AC |
1 ms |
256 KB |
test_mhfrnzpxkmxjzvmqhwxg.txt |
AC |
1 ms |
256 KB |
test_mm.txt |
AC |
1 ms |
256 KB |
test_mvgvrpyghdszgfvznv.txt |
AC |
1 ms |
256 KB |
test_nu.txt |
AC |
1 ms |
256 KB |
test_oaiiioieoeiieiuooiueaouuuiw.txt |
AC |
1 ms |
256 KB |
test_oaqii.txt |
AC |
1 ms |
256 KB |
test_oit.txt |
AC |
1 ms |
256 KB |
test_omimujomevadimadom.txt |
AC |
1 ms |
256 KB |
test_oooooooooolooooooooooooooooooo.txt |
AC |
1 ms |
256 KB |
test_ooqo.txt |
AC |
1 ms |
256 KB |
test_ouioiaeiuaoaeiieuuiooeeqo.txt |
AC |
1 ms |
256 KB |
test_ow.txt |
AC |
1 ms |
256 KB |
test_pifofawezojisasotuj.txt |
AC |
1 ms |
256 KB |
test_pn.txt |
AC |
1 ms |
256 KB |
test_qgqsghgjczftdmvdtrztjdwhcds.txt |
AC |
1 ms |
256 KB |
test_rxifvbybdsqasoyjdskqwhlstx.txt |
AC |
1 ms |
256 KB |
test_s.txt |
AC |
1 ms |
256 KB |
test_taroakpyzmgkbhtklwfbk.txt |
AC |
1 ms |
256 KB |
test_tkttwgnpjlrkcmwkkcfkjtyb.txt |
AC |
1 ms |
256 KB |
test_uauoyouaaeoaoeooa.txt |
AC |
1 ms |
256 KB |
test_uphtuhurtdkmcidxfjtgqtdujblvht.txt |
AC |
1 ms |
256 KB |
test_uqzghmkf.txt |
AC |
1 ms |
256 KB |
test_usetumukiwukugekidefupalumimec.txt |
AC |
1 ms |
256 KB |
test_uueeuoeuviuiieuioeeauuuieeuiee.txt |
AC |
1 ms |
256 KB |
test_uuueueouaouuiuniaoaaeuaoaa.txt |
AC |
1 ms |
256 KB |
test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt |
AC |
1 ms |
256 KB |
test_vokicozoyatekebagajiceb.txt |
AC |
1 ms |
256 KB |
test_xlsphqfmqrtrtvmpvbgnkr.txt |
AC |
1 ms |
256 KB |
test_yepelilemapakonarugupabepisoha.txt |
AC |
1 ms |
256 KB |
test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt |
AC |
1 ms |
256 KB |