結果
問題 | No.522 Make Test Cases(テストケースを作る) |
ユーザー | GrayCoder |
提出日時 | 2017-06-02 23:21:37 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 266 bytes |
コンパイル時間 | 348 ms |
コンパイル使用メモリ | 11,760 KB |
実行使用メモリ | 14,576 KB |
最終ジャッジ日時 | 2023-10-22 01:39:57 |
合計ジャッジ時間 | 5,434 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 305 ms
10,260 KB |
testcase_01 | TLE | - |
testcase_02 | -- | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
ソースコード
def main(): N = int(input()) a = N // 3 b = N c = N for i in range(1, a + 1): for j in range(1, b + 1): for k in range(1, c + 1): if i + j + k == N and i <= j <= k: print(i, j, k) main()