結果
問題 | No.2323 Nafmo、A+Bをする |
ユーザー |
|
提出日時 | 2024-08-17 15:51:19 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 167 bytes |
コンパイル時間 | 1,855 ms |
コンパイル使用メモリ | 192,876 KB |
最終ジャッジ日時 | 2025-02-23 23:00:19 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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;}