結果
問題 | No.2224 UFO Game |
ユーザー |
|
提出日時 | 2023-04-27 22:17:22 |
言語 | PHP (843.2) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 174 bytes |
コンパイル時間 | 2,806 ms |
コンパイル使用メモリ | 31,000 KB |
実行使用メモリ | 31,296 KB |
最終ジャッジ日時 | 2024-11-17 03:04:02 |
合計ジャッジ時間 | 4,150 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php$input = trim(fgets(STDIN));$left = substr($input,0,1);if($left === 'x'){$t = 2 ** 32 - (int)substr($input,1);}else{$t = (int)$input;}echo $t;?>