結果
| 問題 |
No.9005 実行時間/使用メモリテスト(テスト用)
|
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-15 22:37:31 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 605 bytes |
| コンパイル時間 | 167 ms |
| コンパイル使用メモリ | 82,008 KB |
| 実行使用メモリ | 155,292 KB |
| 最終ジャッジ日時 | 2025-04-15 22:38:18 |
| 合計ジャッジ時間 | 1,326 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)
lam6er