結果
| 問題 |
No.3150 count X which satisfies with equlation
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-05-20 21:32:23 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 218 bytes |
| コンパイル時間 | 2,516 ms |
| コンパイル使用メモリ | 275,392 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2025-05-20 21:32:28 |
| 合計ジャッジ時間 | 3,612 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | AC * 1 WA * 40 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int a,b;
int main(){
cin >> a >> b;
int ans = 0;
for(int i = 0; i < 100000; i++){
if(a | i == b) ans++;
}
cout << ans;
}