정답 개수:
0
틀린 개수:
0
실행 실패 개수:
6
2 359 133 0 470 470 0
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "/tmp/target/Main.py", line 8, in <module> w = int(input()) ValueError: invalid literal for int() with base 10: '359 133'
492
9 491 357 45 178 342 213 347 268 205 0 255 18 101 469 461 484 33 298 255 0 326 20 304 132 95 10 367 18 326 0 27 320 130 448 31 175 101 20 27 0 31 69 276 489 426 469 304 320 31 0 36 214 175 7 461 132 130 69 36 0 148 211 88 484 95 448 276 214 148 0 62 430 33 10 31 489 175 211 62 0 249 298 367 175 426 7 88 430 249 0
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "/tmp/target/Main.py", line 8, in <module> w = int(input()) ValueError: invalid literal for int() with base 10: '491 357 45 178 342 213 347 268 205'
256
import random def generate_test_case(): # n은 1에서 15 사이의 랜덤 값 n = random.randint(1, 15) # n개의 랜덤 값을 가진 리스트 생성 values = [random.randint(1, 500) for _ in range(n)] # n x n 크기의 대각선이 0인 랜덤 행렬 생성 matrix = [[0 if i == j else random.randint(1, 500) for j in range(n)] for i in range(n)] # 행렬 출력 for row in matrix: # 테스트 케이스 생성 generate_test_case()
런타임 에러 (RTE)
stderr:
Traceback (most recent call last): File "/tmp/target/Main.py", line 3, in <module> n = int(input()) ValueError: invalid literal for int() with base 10: 'import random'
2147483647