Submission #4340102
Source Code Expand
#include<bits/stdc++.h> #define rep(i,m) for(long long i=0; i<m; i++) #define per(i,m) for(long long i=m-1; i>=0; i--) #define FOR(i,n,m) for(long long i=n; i<m; i++) #define ROF(i,n,m) for(long long i=n-1; i>=m; i--) #define all(x) (x).begin(),(x).end() #define EPS (1e-7) #define INF (1e18) #define PI (acos(-1)) #define dump(x) cerr << #x << " = " << (x) << endl; #define debug(x) cerr << #x << " = " << (x) << " (L" << __LINE__ << ")" << " " << __FILE__ << endl; using namespace std; typedef long long ll; const ll MOD = 1000000007; typedef pair<ll, ll> LP; ll POW(ll x,ll n){ if(n==0)return 1; if(n%2==0)return POW(x*x%MOD,n/2); return x*POW(x,n-1)%MOD; } ll gcd(ll u, ll v) { ll r; while (0 != v) { r = u % v; u = v; v = r; } return u; } ll KAI(ll m) { if(m<0) return 0; if(m==0) return 1; return m*KAI(m-1)%MOD; } ll extGCD(ll a, ll b, ll &x, ll &y) { if (b == 0) { x = 1; y = 0; return a; } ll d = extGCD(b, a%b, y, x); y -= a / b * x; return d; } inline ll mod(ll a, ll m) { return (a % m + m) % m; } ll modinv(ll a) { ll x, y; extGCD(a, MOD, x, y); return mod(x, MOD); } ll COM(ll m,ll n) { if(m<n) return 0; if(n<0) return 0; if(n==0) return 1; if(m==n) return 1; return KAI(m)%MOD*modinv(KAI(n)%MOD*KAI(m-n)%MOD)%MOD; } ll DEC(ll x,ll m,ll n) { return x%POW(m,n+1)/POW(m,n); } ll keta(ll x,ll n) { if(x==0)return 0; return keta(x/n,n)+1; } ll DIV(ll x,ll n) { if(x==0)return 0; return x/n+DIV(x/n,n); } int main() { ll a; string s; char c[50]; cin >> s; a=s.length(); rep(i,a)c[i]=s[i]; rep(i,a){ if(c[i]=='a')goto A; if(c[i]=='i')goto B; if(c[i]=='u')goto C; if(c[i]=='e')goto D; if(c[i]=='o')goto E; printf("%c",c[i]); A:; B:; C:; D:; E:; } }
Submission Info
Submission Time | |
---|---|
Task | B - 罠 |
User | nesya |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 1944 Byte |
Status | WA |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | all | ||
---|---|---|---|
Score / Max Score | 0 / 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 | WA | 1 ms | 256 KB |
00_sample_02.txt | WA | 1 ms | 256 KB |
00_sample_03.txt | WA | 1 ms | 256 KB |
00_sample_04.txt | WA | 1 ms | 256 KB |
test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt | WA | 1 ms | 256 KB |
test_abcdefghijklmnopqrstuvwxyz.txt | WA | 1 ms | 256 KB |
test_aeuuoeuuooaoikuaouoo.txt | WA | 1 ms | 256 KB |
test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt | WA | 1 ms | 256 KB |
test_aioeunu.txt | WA | 1 ms | 256 KB |
test_aqahahuqugironiyog.txt | WA | 1 ms | 256 KB |
test_ay.txt | WA | 1 ms | 256 KB |
test_c.txt | WA | 1 ms | 256 KB |
test_cizuci.txt | WA | 1 ms | 256 KB |
test_clrhrnbnxmhvvrykgpvsjpylvns.txt | WA | 1 ms | 256 KB |
test_clwxebedrzlfbey.txt | WA | 1 ms | 256 KB |
test_dfiousakzbw.txt | WA | 1 ms | 256 KB |
test_di.txt | WA | 1 ms | 256 KB |
test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt | WA | 1 ms | 256 KB |
test_eugfblf.txt | WA | 1 ms | 256 KB |
test_faumfxzsfpgz.txt | WA | 1 ms | 256 KB |
test_glpfsryzkcgbkmytzz.txt | WA | 1 ms | 256 KB |
test_hzkx.txt | WA | 1 ms | 256 KB |
test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt | WA | 1 ms | 256 KB |
test_iyenewigoronadomeni.txt | WA | 1 ms | 256 KB |
test_joda.txt | WA | 1 ms | 256 KB |
test_k.txt | WA | 1 ms | 256 KB |
test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt | WA | 1 ms | 256 KB |
test_klaimqrlgrxzgsqkenng.txt | WA | 1 ms | 256 KB |
test_mgjpfrkthffctppiueeeouiioeieoa.txt | WA | 1 ms | 256 KB |
test_mhfrnzpxkmxjzvmqhwxg.txt | WA | 1 ms | 256 KB |
test_mm.txt | WA | 1 ms | 256 KB |
test_mvgvrpyghdszgfvznv.txt | WA | 1 ms | 256 KB |
test_nu.txt | WA | 1 ms | 256 KB |
test_oaiiioieoeiieiuooiueaouuuiw.txt | WA | 1 ms | 256 KB |
test_oaqii.txt | WA | 1 ms | 256 KB |
test_oit.txt | WA | 1 ms | 256 KB |
test_omimujomevadimadom.txt | WA | 1 ms | 256 KB |
test_oooooooooolooooooooooooooooooo.txt | WA | 1 ms | 256 KB |
test_ooqo.txt | WA | 1 ms | 256 KB |
test_ouioiaeiuaoaeiieuuiooeeqo.txt | WA | 1 ms | 256 KB |
test_ow.txt | WA | 1 ms | 256 KB |
test_pifofawezojisasotuj.txt | WA | 1 ms | 256 KB |
test_pn.txt | WA | 1 ms | 256 KB |
test_qgqsghgjczftdmvdtrztjdwhcds.txt | WA | 1 ms | 256 KB |
test_rxifvbybdsqasoyjdskqwhlstx.txt | WA | 1 ms | 256 KB |
test_s.txt | WA | 1 ms | 256 KB |
test_taroakpyzmgkbhtklwfbk.txt | WA | 1 ms | 256 KB |
test_tkttwgnpjlrkcmwkkcfkjtyb.txt | WA | 1 ms | 256 KB |
test_uauoyouaaeoaoeooa.txt | WA | 1 ms | 256 KB |
test_uphtuhurtdkmcidxfjtgqtdujblvht.txt | WA | 1 ms | 256 KB |
test_uqzghmkf.txt | WA | 1 ms | 256 KB |
test_usetumukiwukugekidefupalumimec.txt | WA | 1 ms | 256 KB |
test_uueeuoeuviuiieuioeeauuuieeuiee.txt | WA | 1 ms | 256 KB |
test_uuueueouaouuiuniaoaaeuaoaa.txt | WA | 1 ms | 256 KB |
test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt | WA | 1 ms | 256 KB |
test_vokicozoyatekebagajiceb.txt | WA | 1 ms | 256 KB |
test_xlsphqfmqrtrtvmpvbgnkr.txt | WA | 1 ms | 256 KB |
test_yepelilemapakonarugupabepisoha.txt | WA | 1 ms | 256 KB |
test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt | WA | 1 ms | 256 KB |