# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
14524 | DimiHDKunho0415 | scanf 함수 4 (BSC_0_6) | C11 | 0 ms | 1084 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |