結果
| 問題 |
No.2323 Nafmo、A+Bをする
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-04-22 16:35:33 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 22 ms / 2,000 ms |
| コード長 | 167 bytes |
| コンパイル時間 | 2,048 ms |
| コンパイル使用メモリ | 193,660 KB |
| 最終ジャッジ日時 | 2025-02-12 13:05:56 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
string S,T;
cin>>S>>T;
int A=stoi(S,nullptr,2);
int B=stoi(T,nullptr,2);
int ans=A^B;
cout<<ans<<endl;
}