Submission #385166
Source Code Expand
#include <cstdio> #include <cstdlib> #include <string> #include <string.h> int main(int argc, char* argv[]) { char W [30]; char Wn[100]; scanf("%s", W); const char* mother = {"aiueo"}; int index_wn = 0; for(int j=0; j<strlen(W); j++){ const char* ret = strchr(mother, W[j]); if( ret == NULL ){ Wn[index_wn] = W[j]; index_wn++; } } char Wl[index_wn-1]; for(int j=0; j<index_wn-1; j++){ Wl[j] = Wn[j]; } printf("%s\n", Wl); return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - 罠 |
User | mingori3 |
Language | C++ (G++ 4.6.4) |
Score | 0 |
Code Size | 682 Byte |
Status | WA |
Exec Time | 28 ms |
Memory | 1056 KB |
Compile Error
./Main.cpp: In function ‘int main(int, char**)’: ./Main.cpp:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
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 | 25 ms | 1048 KB |
00_sample_02.txt | WA | 27 ms | 1044 KB |
00_sample_03.txt | WA | 23 ms | 1056 KB |
00_sample_04.txt | WA | 28 ms | 1052 KB |
test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt | WA | 24 ms | 952 KB |
test_abcdefghijklmnopqrstuvwxyz.txt | WA | 25 ms | 1052 KB |
test_aeuuoeuuooaoikuaouoo.txt | WA | 24 ms | 952 KB |
test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt | WA | 24 ms | 948 KB |
test_aioeunu.txt | WA | 24 ms | 1048 KB |
test_aqahahuqugironiyog.txt | WA | 25 ms | 1048 KB |
test_ay.txt | WA | 27 ms | 1040 KB |
test_c.txt | WA | 26 ms | 944 KB |
test_cizuci.txt | WA | 26 ms | 1048 KB |
test_clrhrnbnxmhvvrykgpvsjpylvns.txt | WA | 26 ms | 1048 KB |
test_clwxebedrzlfbey.txt | WA | 26 ms | 1044 KB |
test_dfiousakzbw.txt | WA | 26 ms | 1052 KB |
test_di.txt | WA | 26 ms | 1044 KB |
test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt | WA | 27 ms | 1052 KB |
test_eugfblf.txt | WA | 27 ms | 860 KB |
test_faumfxzsfpgz.txt | WA | 27 ms | 856 KB |
test_glpfsryzkcgbkmytzz.txt | WA | 26 ms | 1048 KB |
test_hzkx.txt | WA | 26 ms | 948 KB |
test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt | WA | 26 ms | 864 KB |
test_iyenewigoronadomeni.txt | WA | 26 ms | 1048 KB |
test_joda.txt | WA | 26 ms | 1048 KB |
test_k.txt | WA | 26 ms | 1044 KB |
test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt | WA | 26 ms | 1048 KB |
test_klaimqrlgrxzgsqkenng.txt | WA | 26 ms | 1044 KB |
test_mgjpfrkthffctppiueeeouiioeieoa.txt | WA | 26 ms | 1048 KB |
test_mhfrnzpxkmxjzvmqhwxg.txt | WA | 27 ms | 864 KB |
test_mm.txt | WA | 27 ms | 1048 KB |
test_mvgvrpyghdszgfvznv.txt | WA | 26 ms | 948 KB |
test_nu.txt | WA | 25 ms | 1004 KB |
test_oaiiioieoeiieiuooiueaouuuiw.txt | WA | 26 ms | 1040 KB |
test_oaqii.txt | WA | 26 ms | 1048 KB |
test_oit.txt | WA | 26 ms | 1052 KB |
test_omimujomevadimadom.txt | WA | 26 ms | 1052 KB |
test_oooooooooolooooooooooooooooooo.txt | WA | 26 ms | 1048 KB |
test_ooqo.txt | WA | 26 ms | 1044 KB |
test_ouioiaeiuaoaeiieuuiooeeqo.txt | WA | 26 ms | 1052 KB |
test_ow.txt | WA | 26 ms | 1044 KB |
test_pifofawezojisasotuj.txt | WA | 27 ms | 1044 KB |
test_pn.txt | WA | 26 ms | 1040 KB |
test_qgqsghgjczftdmvdtrztjdwhcds.txt | WA | 26 ms | 1044 KB |
test_rxifvbybdsqasoyjdskqwhlstx.txt | WA | 27 ms | 944 KB |
test_s.txt | WA | 27 ms | 1052 KB |
test_taroakpyzmgkbhtklwfbk.txt | WA | 26 ms | 1048 KB |
test_tkttwgnpjlrkcmwkkcfkjtyb.txt | WA | 26 ms | 1048 KB |
test_uauoyouaaeoaoeooa.txt | WA | 26 ms | 1044 KB |
test_uphtuhurtdkmcidxfjtgqtdujblvht.txt | WA | 26 ms | 1052 KB |
test_uqzghmkf.txt | WA | 26 ms | 932 KB |
test_usetumukiwukugekidefupalumimec.txt | WA | 26 ms | 1048 KB |
test_uueeuoeuviuiieuioeeauuuieeuiee.txt | WA | 28 ms | 1044 KB |
test_uuueueouaouuiuniaoaaeuaoaa.txt | WA | 27 ms | 856 KB |
test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt | WA | 26 ms | 1048 KB |
test_vokicozoyatekebagajiceb.txt | WA | 26 ms | 1044 KB |
test_xlsphqfmqrtrtvmpvbgnkr.txt | WA | 27 ms | 1044 KB |
test_yepelilemapakonarugupabepisoha.txt | WA | 26 ms | 944 KB |
test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt | WA | 26 ms | 944 KB |