結果
| 問題 | No.353 ヘイトプラス |
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2016-05-25 11:43:51 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 157 bytes |
| 記録 | |
| コンパイル時間 | 1,941 ms |
| コンパイル使用メモリ | 38,340 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2026-03-19 02:29:20 |
| 合計ジャッジ時間 | 2,304 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 7 |
ソースコード
#include <stdio.h>
using namespace std;
int main(){
int a,b;
scanf("%d %d",&a,&b);
while(b!=0){
int c=(a&b)<<1;
a=a^b;
b=c;
}
printf("%d\n",a);
}
horiesiniti