結果
| 問題 |
No.796 well known
|
| コンテスト | |
| ユーザー |
URechaRecha
|
| 提出日時 | 2019-09-06 16:48:24 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 283 bytes |
| コンパイル時間 | 314 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 17,664 KB |
| 最終ジャッジ日時 | 2024-06-24 00:35:25 |
| 合計ジャッジ時間 | 3,527 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 3 WA * 12 |
ソースコード
def main():
N = int(input())
for i in range((N+N%3),312454,3):
if i %3 ==1 and i >= (N-1):
ans = [i]
ans[0] -= N-2
ans +=[1]*(N-2)
ans.append(3)
print((' ').join(map(str,ans)))
return None
main()
URechaRecha