페이지

2743번: 단어 길이 재기

https://www.acmicpc.net/problem/2743


$O(1)$


#include<cstdio>
#include<string.h>
char s[101];
int main() {
    scanf("%s", s);
    printf("%d", strlen(s));
    return 0;
}

댓글 없음 :

댓글 쓰기