結果
問題 | No.3057 A xor B = C |
ユーザー | fura |
提出日時 | 2020-04-01 22:11:52 |
言語 | C++17 (gcc 12.3.0 + boost 1.83.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 224 bytes |
コンパイル時間 | 1,976 ms |
コンパイル使用メモリ | 198,244 KB |
実行使用メモリ | 4,384 KB |
最終ジャッジ日時 | 2023-09-09 18:31:15 |
合計ジャッジ時間 | 2,371 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | WA | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
ソースコード
#include <bits/stdc++.h> #define rep(i,n) for(int i=0;i<(n);i++) using namespace std; int main(){ string a,b; cin>>a>>b; if(count(a.begin(),a.end(),'0')+count(a.begin(),a.end(),'1')==a.length()) return 0; return -1; }