Submission #110757
Source Code Expand
#include <iostream> #include <cstdio> #include <iomanip> #include <vector> #include <map> #include <set> #include <queue> #include <bitset> #include <stack> #include <utility> #include <numeric> #include <algorithm> #include <functional> #include <cctype> #include <complex> #include <string> #include <sstream> #include <cassert> using namespace std; //common using i32=int;using i64=long long;using ll =i64; #define BR "\n" #define ALL(c) (c).begin(),(c).end() #define REP(i,n) for(int i=0;i<(int)(n);++i) #define EACH(it,o) for(auto it = (o).begin(); it != (o).end(); ++it) #define IN(l,v,r) ((l)<=(v) && (v)<(r)) typedef vector<int> vi; typedef pair<int,int> pii; typedef vector<pair<int,int> > vpii; typedef long long ll; typedef vector<long long> vl; typedef pair<long long,long long> pll; typedef vector<pair<long long,long long> > vpll; typedef vector<string> vs; typedef long double ld; //x,y,z template <typename T> using X = vector<T>;template <typename T> using Y = vector<T>;template <typename T> using Z = vector<T>; template <typename T> using YX = Y<X<T>>;//H*W M*N template <typename T> using ZYX = Z<YX<T>>; #define H(Map) Map.size() #define W(Map) Map[0].size() //config #define MODE_DEBUG //#define INF 1<<30 //#define EPS 1e-8 //const ll MOD =100000007; //debug #ifdef MODE_DEBUG #define DUMP(x) cerr << #x << " = " << (x) <<endl #define DEBUG(x) DUMP(x) << " (L" << __LINE__ << ")" << " " << __FILE__<<endl #define CHECK(exp,act) if(exp!=act){DUMP(exp);DEBUG(act);} #define STOP(e) CHECK(e,true);if(!(e)) exit(1); #else #define DUMP(x) #define DEBUG(x) #define CHECK(exp,act) #define STOP(e) #endif template<class T> inline string toString(const vector<T>& x) { stringstream ss; REP(i,x.size()){ if(i!=0)ss<<" "; ss<< x[i]; } return ss.str(); } template<class T> inline string toString(const vector<vector<T>>& map) { stringstream ss; REP(i,map.size()){ if(i!=0)ss<<BR; ss<< toString(map[i]); } return ss.str(); } template<class K,class V> string toString(map<K,V>& x) { string res;stringstream ss; for(auto& p:x)ss<< p.first<<":" << p.second<<" "; return ss.str(); } int main(){ stringstream ss; string s; cin >> s ; REP(i,s.size()){ if(s[i]!='a' && s[i]!='i' && s[i]!='u' && s[i]!='e' && s[i]!='o')ss<<s[i]; } cout <<ss.str()<<endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - 罠 |
User | shimomire |
Language | C++11 (GCC 4.8.1) |
Score | 100 |
Code Size | 2401 Byte |
Status | AC |
Exec Time | 24 ms |
Memory | 924 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 | 21 ms | 800 KB |
00_sample_02.txt | AC | 22 ms | 796 KB |
00_sample_03.txt | AC | 22 ms | 924 KB |
00_sample_04.txt | AC | 21 ms | 796 KB |
test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt | AC | 21 ms | 796 KB |
test_abcdefghijklmnopqrstuvwxyz.txt | AC | 21 ms | 796 KB |
test_aeuuoeuuooaoikuaouoo.txt | AC | 23 ms | 804 KB |
test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt | AC | 23 ms | 800 KB |
test_aioeunu.txt | AC | 22 ms | 800 KB |
test_aqahahuqugironiyog.txt | AC | 22 ms | 800 KB |
test_ay.txt | AC | 22 ms | 800 KB |
test_c.txt | AC | 21 ms | 796 KB |
test_cizuci.txt | AC | 23 ms | 808 KB |
test_clrhrnbnxmhvvrykgpvsjpylvns.txt | AC | 21 ms | 800 KB |
test_clwxebedrzlfbey.txt | AC | 21 ms | 920 KB |
test_dfiousakzbw.txt | AC | 22 ms | 796 KB |
test_di.txt | AC | 19 ms | 916 KB |
test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt | AC | 22 ms | 796 KB |
test_eugfblf.txt | AC | 21 ms | 796 KB |
test_faumfxzsfpgz.txt | AC | 21 ms | 832 KB |
test_glpfsryzkcgbkmytzz.txt | AC | 22 ms | 924 KB |
test_hzkx.txt | AC | 22 ms | 800 KB |
test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt | AC | 22 ms | 800 KB |
test_iyenewigoronadomeni.txt | AC | 22 ms | 916 KB |
test_joda.txt | AC | 22 ms | 912 KB |
test_k.txt | AC | 22 ms | 924 KB |
test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt | AC | 21 ms | 924 KB |
test_klaimqrlgrxzgsqkenng.txt | AC | 21 ms | 920 KB |
test_mgjpfrkthffctppiueeeouiioeieoa.txt | AC | 21 ms | 796 KB |
test_mhfrnzpxkmxjzvmqhwxg.txt | AC | 22 ms | 812 KB |
test_mm.txt | AC | 22 ms | 800 KB |
test_mvgvrpyghdszgfvznv.txt | AC | 21 ms | 788 KB |
test_nu.txt | AC | 21 ms | 800 KB |
test_oaiiioieoeiieiuooiueaouuuiw.txt | AC | 21 ms | 800 KB |
test_oaqii.txt | AC | 19 ms | 920 KB |
test_oit.txt | AC | 21 ms | 800 KB |
test_omimujomevadimadom.txt | AC | 23 ms | 792 KB |
test_oooooooooolooooooooooooooooooo.txt | AC | 22 ms | 796 KB |
test_ooqo.txt | AC | 24 ms | 792 KB |
test_ouioiaeiuaoaeiieuuiooeeqo.txt | AC | 21 ms | 796 KB |
test_ow.txt | AC | 23 ms | 796 KB |
test_pifofawezojisasotuj.txt | AC | 21 ms | 812 KB |
test_pn.txt | AC | 22 ms | 800 KB |
test_qgqsghgjczftdmvdtrztjdwhcds.txt | AC | 21 ms | 800 KB |
test_rxifvbybdsqasoyjdskqwhlstx.txt | AC | 23 ms | 800 KB |
test_s.txt | AC | 21 ms | 924 KB |
test_taroakpyzmgkbhtklwfbk.txt | AC | 22 ms | 800 KB |
test_tkttwgnpjlrkcmwkkcfkjtyb.txt | AC | 23 ms | 800 KB |
test_uauoyouaaeoaoeooa.txt | AC | 23 ms | 800 KB |
test_uphtuhurtdkmcidxfjtgqtdujblvht.txt | AC | 21 ms | 924 KB |
test_uqzghmkf.txt | AC | 21 ms | 916 KB |
test_usetumukiwukugekidefupalumimec.txt | AC | 22 ms | 796 KB |
test_uueeuoeuviuiieuioeeauuuieeuiee.txt | AC | 23 ms | 700 KB |
test_uuueueouaouuiuniaoaaeuaoaa.txt | AC | 22 ms | 808 KB |
test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt | AC | 22 ms | 800 KB |
test_vokicozoyatekebagajiceb.txt | AC | 23 ms | 792 KB |
test_xlsphqfmqrtrtvmpvbgnkr.txt | AC | 21 ms | 800 KB |
test_yepelilemapakonarugupabepisoha.txt | AC | 21 ms | 800 KB |
test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt | AC | 22 ms | 796 KB |