結果
| 問題 | No.1432 Not Xor |
| コンテスト | |
| ユーザー |
ぷら
|
| 提出日時 | 2021-03-19 21:46:02 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 114 bytes |
| 記録 | |
| コンパイル時間 | 955 ms |
| コンパイル使用メモリ | 178,008 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-13 08:14:56 |
| 合計ジャッジ時間 | 1,683 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 1 WA * 6 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:6:23: warning: 'A' is used uninitialized [-Wuninitialized]
6 | cout << (A|B)+(A&B) << endl;
| ^
main.cpp:5:15: note: 'A' was declared here
5 | long long A,B;
| ^
main.cpp:6:23: warning: 'B' is used uninitialized [-Wuninitialized]
6 | cout << (A|B)+(A&B) << endl;
| ^
main.cpp:5:17: note: 'B' was declared here
5 | long long A,B;
| ^
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
long long A,B;
cout << (A|B)+(A&B) << endl;
}
ぷら