結果
| 問題 | No.2736 About half |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-04-16 01:04:40 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 7 ms / 2,000 ms |
| コード長 | 432 bytes |
| 記録 | |
| コンパイル時間 | 1,148 ms |
| コンパイル使用メモリ | 218,920 KB |
| 実行使用メモリ | 12,012 KB |
| 最終ジャッジ日時 | 2026-07-04 12:07:07 |
| 合計ジャッジ時間 | 2,202 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
// N^2
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
constexpr int MOD=998244353;
int main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
vector<vector<string>> ans(501,vector<string>(501,""));
for(int i=1;i<=500;i++){
for(int j=1;j<=500;j++){
if(i*2<j||j*2<i){
ans[i][j]="No\n";
}else{
ans[i][j]="Yes\n";
}
}
}
int A,B;
cin>>A>>B;
cout<<ans[A][B];
}