페이지가 로드되지 않나요? 여기를 눌러보면 고쳐질 수도 있어요.
Placeholder

실시간 제출 현황

제출 현황

#12102139

0점 컴파일 에러
#1 컴파일 에러 0ms 0MB

변수나 함수가 선언되지 않았어요. 변수나 함수를 선언하고 사용하고 있는지 확인해 보세요. 혹은 이 스코프 바깥에서 선언된 변수나 함수를 사용하고 있지는 않나요?
Main.cpp: In function ‘int main()’:
Main.cpp:8:20: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]
    8 |     int len=strlen(ch);
      |                    ^~
      |                    |
      |                    char
In file included from Main.cpp:2:
/usr/include/string.h:407:35: note: initializing argument 1 of ‘size_t strlen(const char*)’
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
Main.cpp:10:15: error: invalid types ‘char[int]’ for array subscript
   10 |         if (ch[i]==' ') {
      |               ^
Main.cpp:16:19: error: ‘wnct’ was not declared in this scope; did you mean ‘wcnt’?
   16 |             words[wnct][wlen]=ch[i];
      |                   ^~~~
      |                   wcnt
Main.cpp:16:33: error: invalid types ‘char[int]’ for array subscript
   16 |             words[wnct][wlen]=ch[i];
      |                                 ^
Main.cpp:7:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    7 |     scanf("%[^\r\n]",&ch);
      |     ~~~~~^~~~~~~~~~~~~~~~
번호 제출자 문제 결과 시간 메모리 길이 언어 시각
12154872
kbs3616991
#9541
런타임 에러 0점 0ms - 197BPython 3
25초 전
12154871 +1
kbs3616991
#805
정답 100점 91ms 9.1MB 171BPython 3
5분 전
12154869 +3
kbs3616991
#9540
런타임 에러 0점 0ms - 207BPython 3
11분 전
12154865
kimms0117
#159
정답 100점 66ms 768KB 501BC++20
16분 전
12154864 +1
kbs3616991
#804
정답 100점 78ms 9.4MB 241BPython 3
17분 전
12154862 +4
kimms0117
#159
오답 30점 44ms 768KB 501BC++20
21분 전
12154857 +1
kbs3616991
#804
오답 45.8점 81ms 9.5MB 235BPython 3
23분 전
12154855 +1
kbs3616991
#9539
정답 100점 130ms 9.1MB 184BPython 3
28분 전
12154853 +5
kbs3616991
#803
정답 100점 149ms 9.4MB 92BPython 3
31분 전
12154847
kbs3616991
#9538
정답 100점 66ms 9.1MB 95BPython 3
38분 전
12154846
kbs3616991
#802
정답 100점 74ms 9.4MB 132BPython 3
39분 전
12154845
yh150914
#9354
오답 0점 75ms 9.1MB 89BPython 3
39분 전
12154844 +3
kbs3616991
#802
오답 40점 82ms 9.4MB 132BPython 3
40분 전
12154840
JAX2025
#187
정답 100점 66ms 768KB 530BC++20
42분 전
12154839
kbs3616991
#802
오답 0점 81ms 9.4MB 101BPython 3
42분 전
12154838 +4
kbs3616991
#9537
런타임 에러 0점 0ms - 174BPython 3
46분 전
12154833
JAX2025
#187
정답 100점 25ms 768KB 530BC++20
50분 전