結果
| 問題 |
No.431 死亡フラグ
|
| コンテスト | |
| ユーザー |
Haruki0804S
|
| 提出日時 | 2018-10-23 20:37:18 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 2,000 ms |
| コード長 | 260 bytes |
| コンパイル時間 | 175 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-11-19 04:39:44 |
| 合計ジャッジ時間 | 1,283 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
S=input().split(' ')
if(S[-1]=='1'):
print('SURVIVED')
else:
count=0
for i in range(3):
if(S[i]=='1'):
count=count+1
if(count==2):
print('DEAD')
break
if(i==2):
print('SURVIVED')
Haruki0804S