Submission #1774981
Source Code Expand
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <ctype.h> #include <limits.h> #define inf (INT_MAX-1) #define INF 9223372036854775807 #define sq(n) ((n)*(n)) #define rep(i,n) for(i=0;i<n;i++) #define rev(i,n) for(i=n-1;i>=0;i--) #define sort(a,n) qsort(a,n,sizeof(TYPE),cmp) #define sort_r(a,n) qsort(a,n,sizeof(TYPE),cmp_r); #define TYPE int #define MEMSET(a) memset(a,0,sizeof(a)) const int mod=(int)1e09+7; int in(void){ int i;scanf("%d",&i); return i; } long long llin(void){ long long i;scanf("%lld",&i); return i; } double din(void){ double i;scanf("%lf",&i); return i; } void chin(char s[]){ scanf("%s",s); } void print(int a){ printf("%d\n",a); } void llprint(long long a){ printf("%lld\n",a); } void dprint(double a){ printf("%.10f\n",a); } void print2(int a,int b){ printf("%d %d\n",a,b); } long long max(long long a,long long b){ return a>b?a:b; } long long min(long long a,long long b){ return a<b?a:b; } long long llabs(long long a){ return a>0?a:-a; } double dmax(double a,double b){ return a>b?a:b; } int cmp(const void *a,const void *b){ return *(TYPE *)a-*(TYPE *)b; } int cmp_r(const void *a,const void *b){ return *(TYPE *)b-*(TYPE *)a; } int main(void){ int i,j; char s[100]; char *v="aiueo"; chin(s); rep(i,strlen(s)){ rep(j,strlen(v)){ if(s[i]==v[j]) break; } if(j==5) putchar(s[i]); } puts(""); return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - 罠 |
User | f_t_ikt |
Language | C (GCC 5.4.1) |
Score | 100 |
Code Size | 1489 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 128 KB |
Compile Error
./Main.c: In function ‘in’: ./Main.c:19:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] int i;scanf("%d",&i); ^ ./Main.c: In function ‘llin’: ./Main.c:23:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] long long i;scanf("%lld",&i); ^ ./Main.c: In function ‘din’: ./Main.c:27:11: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] double i;scanf("%lf",&i); ^ ./Main.c: In function ‘chin’: ./Main.c:31:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^
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 | 0 ms | 128 KB |
00_sample_02.txt | AC | 0 ms | 128 KB |
00_sample_03.txt | AC | 0 ms | 128 KB |
00_sample_04.txt | AC | 0 ms | 128 KB |
test_aaaaaaaaaaaaaaaaaaaaaaaaaapaaa.txt | AC | 0 ms | 128 KB |
test_abcdefghijklmnopqrstuvwxyz.txt | AC | 1 ms | 128 KB |
test_aeuuoeuuooaoikuaouoo.txt | AC | 0 ms | 128 KB |
test_aieeuoaoaeioeierrtwmmdkjylcbbj.txt | AC | 0 ms | 128 KB |
test_aioeunu.txt | AC | 0 ms | 128 KB |
test_aqahahuqugironiyog.txt | AC | 0 ms | 128 KB |
test_ay.txt | AC | 1 ms | 128 KB |
test_c.txt | AC | 0 ms | 128 KB |
test_cizuci.txt | AC | 0 ms | 128 KB |
test_clrhrnbnxmhvvrykgpvsjpylvns.txt | AC | 0 ms | 128 KB |
test_clwxebedrzlfbey.txt | AC | 0 ms | 128 KB |
test_dfiousakzbw.txt | AC | 0 ms | 128 KB |
test_di.txt | AC | 0 ms | 128 KB |
test_eeeeeleeeeeeeeeeeeeeeeeeeeeeee.txt | AC | 0 ms | 128 KB |
test_eugfblf.txt | AC | 0 ms | 128 KB |
test_faumfxzsfpgz.txt | AC | 0 ms | 128 KB |
test_glpfsryzkcgbkmytzz.txt | AC | 0 ms | 128 KB |
test_hzkx.txt | AC | 0 ms | 128 KB |
test_iiiiiiiiiiiiiiiiiiiitiiiiiiiii.txt | AC | 0 ms | 128 KB |
test_iyenewigoronadomeni.txt | AC | 0 ms | 128 KB |
test_joda.txt | AC | 0 ms | 128 KB |
test_k.txt | AC | 0 ms | 128 KB |
test_kjjxmvpdpcbthjhqqqnsvmvxbtz.txt | AC | 0 ms | 128 KB |
test_klaimqrlgrxzgsqkenng.txt | AC | 0 ms | 128 KB |
test_mgjpfrkthffctppiueeeouiioeieoa.txt | AC | 0 ms | 128 KB |
test_mhfrnzpxkmxjzvmqhwxg.txt | AC | 0 ms | 128 KB |
test_mm.txt | AC | 0 ms | 128 KB |
test_mvgvrpyghdszgfvznv.txt | AC | 1 ms | 128 KB |
test_nu.txt | AC | 1 ms | 128 KB |
test_oaiiioieoeiieiuooiueaouuuiw.txt | AC | 0 ms | 128 KB |
test_oaqii.txt | AC | 1 ms | 128 KB |
test_oit.txt | AC | 1 ms | 128 KB |
test_omimujomevadimadom.txt | AC | 1 ms | 128 KB |
test_oooooooooolooooooooooooooooooo.txt | AC | 1 ms | 128 KB |
test_ooqo.txt | AC | 0 ms | 128 KB |
test_ouioiaeiuaoaeiieuuiooeeqo.txt | AC | 0 ms | 128 KB |
test_ow.txt | AC | 0 ms | 128 KB |
test_pifofawezojisasotuj.txt | AC | 1 ms | 128 KB |
test_pn.txt | AC | 0 ms | 128 KB |
test_qgqsghgjczftdmvdtrztjdwhcds.txt | AC | 1 ms | 128 KB |
test_rxifvbybdsqasoyjdskqwhlstx.txt | AC | 0 ms | 128 KB |
test_s.txt | AC | 0 ms | 128 KB |
test_taroakpyzmgkbhtklwfbk.txt | AC | 1 ms | 128 KB |
test_tkttwgnpjlrkcmwkkcfkjtyb.txt | AC | 0 ms | 128 KB |
test_uauoyouaaeoaoeooa.txt | AC | 1 ms | 128 KB |
test_uphtuhurtdkmcidxfjtgqtdujblvht.txt | AC | 1 ms | 128 KB |
test_uqzghmkf.txt | AC | 1 ms | 128 KB |
test_usetumukiwukugekidefupalumimec.txt | AC | 1 ms | 128 KB |
test_uueeuoeuviuiieuioeeauuuieeuiee.txt | AC | 1 ms | 128 KB |
test_uuueueouaouuiuniaoaaeuaoaa.txt | AC | 0 ms | 128 KB |
test_uuuuuuuujuuuuuuuuuuuuuuuuuuuuu.txt | AC | 0 ms | 128 KB |
test_vokicozoyatekebagajiceb.txt | AC | 0 ms | 128 KB |
test_xlsphqfmqrtrtvmpvbgnkr.txt | AC | 0 ms | 128 KB |
test_yepelilemapakonarugupabepisoha.txt | AC | 0 ms | 128 KB |
test_zkkyzwjgzmddvqtvvrcqhsrqlmqmkr.txt | AC | 0 ms | 128 KB |