반응형 113321 [백준/Python] (S4) 시간초과 - 11332 Baekjoon Online Judge의 11332번 시간초과 문제의 Python 풀이입니다. 11332번: 시간초과 각 테스트 케이스들에 대하여 시간 초과가 나면 "TLE!", 시간 초과가 나지 않으면 "May Pass." 를 출력한다. www.acmicpc.net 💻코드 import math C = int(input()) for _ in range(C): complexity, *params = input().split() max_input_size, test_count, time_limit = map(int, params) if complexity == 'O(N)': operations = max_input_size elif complexity == 'O(N^2)': operations = max_i.. PS 2024. 4. 12. 이전 1 다음 반응형