結果
問題 |
No.9005 実行時間/使用メモリテスト(テスト用)
|
ユーザー |
![]() |
提出日時 | 2025-04-16 16:02:13 |
言語 | PyPy3 (7.3.15) |
結果 |
MLE
|
実行時間 | - |
コード長 | 605 bytes |
コンパイル時間 | 551 ms |
コンパイル使用メモリ | 81,876 KB |
実行使用メモリ | 155,304 KB |
最終ジャッジ日時 | 2025-04-16 16:08:23 |
合計ジャッジ時間 | 1,859 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 MLE * 3 |
ソースコード
n = int(input()) if n == 1: print(0) elif n == 2: # Time-consuming loop (CPU-bound) s = 0 for i in range(5 * 10**7): s += 1 print(0) elif n == 3: # Allocate large memory (100MB) a = [0] * (12500000) # Approximately 100MB print(0) elif n == 4: # Combine time and memory usage a = [0] * (12500000) # 100MB s = 0 for i in range(len(a)): s += a[i] print(0) elif n == 5: # More intensive processing a = [0] * (12500000) # 100MB s = 0 for i in range(2 * 10**8): # Longer loop s += 1 print(0) else: print(0)