結果
問題 |
No.991 N×Mマス計算(構築)
|
ユーザー |
|
提出日時 | 2020-02-21 02:30:35 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 187 bytes |
コンパイル時間 | 190 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 12,316 KB |
最終ジャッジ日時 | 2024-10-08 19:38:13 |
合計ジャッジ時間 | 8,926 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 RE * 1 |
other | RE * 28 |
ソースコード
x=int(input()) n=10**5 m=x//n+1 k=10**9 y=(x-(n-x%n-1))%k op='*' arr1=[op]+[k]*(x//n)+[1] arr2=[k]*(x//n)+[1]*(n-x%n-1)+[y] print(n,m,k) print(*arr1) for i in range(n): print(arr2[i])