結果
| 問題 |
No.687 E869120 and Constructing Array 1
|
| コンテスト | |
| ユーザー |
Subaru314
|
| 提出日時 | 2021-03-04 00:46:43 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 27 ms / 1,000 ms |
| コード長 | 134 bytes |
| コンパイル時間 | 116 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-03 22:27:13 |
| 合計ジャッジ時間 | 855 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
n = int(input())
l = [0,0]
if n%2==0:
l[0]=int(n/2)
l[1]=int(n/2)
else:
l[0]=int((n+1)/2)
l[1]=n-l[0]
print(*l)
Subaru314