[C] λ°±μ€ BEAKJOON 1978λ²: μμ μ°ΎκΈ° https://www.acmicpc.net/problem/1978 1978λ²: μμ μ°ΎκΈ° 첫 μ€μ μμ κ°μ Nμ΄ μ£Όμ΄μ§λ€. Nμ 100μ΄νμ΄λ€. λ€μμΌλ‘ Nκ°μ μκ° μ£Όμ΄μ§λλ° μλ 1,000 μ΄νμ μμ°μμ΄λ€. www.acmicpc.net [1] λ¬Έμ [2] μ λ΅ λ° ν΄μ #define _CRT_SECURE_NO_WARNINGS #include int main(void) { int N; int i; int j; int a[100]; int cnt = 0; scanf("%d", &N); for (i = 0; i < N; i++) { scanf("%d", &a[i]); } for (i = 0; i < N; i++) { for (j = 2; j