정답 개수:
0
틀린 개수:
0
실행 실패 개수:
10
3 111 439 129 0 394 400 123 0 213 195 435 0
런타임 에러 (RTE)
stderr:
Exception in thread "main" java.lang.NumberFormatException: For input string: "111 439 129" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) at java.base/java.lang.Integer.parseInt(Integer.java:668) at java.base/java.lang.Integer.parseInt(Integer.java:786) at Main.main(Main.java:22)
363
7 62 127 308 305 395 27 152 0 386 245 108 140 123 287 469 0 106 114 94 138 115 35 326 0 378 218 17 210 447 308 357 0 257 106 139 28 179 462 283 0 290 89 462 7 160 315 282 0 255 163 208 47 445 153 241 0
런타임 에러 (RTE)
stderr:
Exception in thread "main" java.lang.NumberFormatException: For input string: "62 127 308 305 395 27 152" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) at java.base/java.lang.Integer.parseInt(Integer.java:668) at java.base/java.lang.Integer.parseInt(Integer.java:786) at Main.main(Main.java:22)
267
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:
Exception in thread "main" java.lang.NumberFormatException: For input string: "import random" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) at java.base/java.lang.Integer.parseInt(Integer.java:668) at java.base/java.lang.Integer.parseInt(Integer.java:786) at Main.main(Main.java:15)
2147483647