왜안될까....
-
백준 - 전광판의 숫자 [16159]공부/baekjoon 문제 2019. 6. 19. 14:38
* 해당 코드의 결과는 "출력초과" 입니다. 아직 해결하지 못한코드이니 참고만 해주시길 바랍니다. #include #include #include #include using namespace std; char numbers[7][60]; char arr[7][60]; vector num_list; int get_num(int n, int i) { int sq = 0; int num = 0; if (n == 10)num = 0; else if (n == 6)num = 1; else if (n == 14)num = 2; else if (n == 9)num = 3; else if (n == 11)num = 4; else if (n == 13)num = 5; else if (n == 12)num = 6; els..