結果

問題 No.1587 012 Matrix
ユーザー machoniumpmachoniump
提出日時 2021-07-23 21:03:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 1,083 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 10,772 KB
実行使用メモリ 21,376 KB
最終ジャッジ日時 2023-09-25 20:28:18
合計ジャッジ時間 8,904 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 TLE -
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
from collections import deque, defaultdict,Counter
from copy import deepcopy
from bisect import bisect_left, bisect_right, insort_left, insort_right
from heapq import heapify, heappop, heappush
from itertools import product, permutations, combinations, combinations_with_replacement,accumulate
from functools import reduce
from math import gcd, sin, cos, tan, asin, acos, atan, degrees, radians, ceil, floor, log, sqrt, ceil, floor, pi, hypot
from string import ascii_lowercase
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
sys.setrecursionlimit(1000000)
INF = 10**12
MOD = 10**9+7
# MOD = 998244353
yes="Yes"
no="No"
#|
from random import randint
def II():return int(input())
def SI():return str(input())
def MI():return map(int,input().split())
def MS():return map(str,input().split())
def LI():return list(map(int,input().split()))
def SLI():return sorted(list(map(int,input().split())))
def LS():return list(map(str,input().split()))
n=int(input())
ans=""
for i in range(n**2):
    if i%n==0:
      ans+="\n"+str(i)
    else:
      ans+=str(i)
print(ans)
0