Submission #14524

#TimeUsernameProblemLanguageResultExecution timeMemory
14524DimiHDKunho0415scanf 함수 4 (BSC_0_6)C11
100 / 100
0 ms1084 KiB
#include<stdio.h> #include<string.h> int main(){ char A[10]; int i, cnt=0; gets(A); for(i=0; i<strlen(A); i++) if(A[i]==' ') cnt++; printf("%d", cnt+1); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...