結果
| 問題 |
No.2224 UFO Game
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-04-21 05:48:09 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 316 bytes |
| コンパイル時間 | 384 ms |
| コンパイル使用メモリ | 29,312 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-06 04:06:04 |
| 合計ジャッジ時間 | 901 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 5 WA * 6 |
ソースコード
#include <stdio.h>
#include <math.h>
int main(void)
{
long long int number;
int res;
scanf("%lld\n",&number);
res = (long long int)pow(2,32.0) - number;
if(number < pow(2,31.0))
{
printf("%ld\n",number);
}
else
{
printf("x%d\n",res);
}
return 0;
}