#69. [백준_C언어] 4889 : 안정적인 문자열 \ 자료구조
입력 코드 #include int main(void) { int i, j; int s2 = 0, cnt = 0, length = 0; char str[2000]; char c; for (i = 1; ; i++) { length = 0; while (1) { scanf("%c", &c); if (c == '-') { cnt = -1; break; } if (c == '\n') break; str[length] = c; length++; } if (cnt == -1) break; if (length == 0) { printf("%d. 0\n", i); continue; } s2 = 0, cnt = 0; for (j = length - 1; j >= 0; j--) { if (str[j] == '{') { if..