結果
問題 | No.2533 A⇒B問題 |
ユーザー |
![]() |
提出日時 | 2023-11-10 21:29:09 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 331 bytes |
コンパイル時間 | 210 ms |
コンパイル使用メモリ | 29,568 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-26 01:07:32 |
合計ジャッジ時間 | 923 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
#include<stdio.h>#include<stdlib.h>int main(void){int scan;//scanf警告用int ans=0;int i, j;//■数値入力用unsigned long long a,b,a2,b2;scan=scanf("%llu%llu",&a,&b);for(i=0; i<64; i++){a2=a&(1<<i);b2=b&(1<<i);if(a2)if(!b2){puts("No");return 0;}}printf("Yes");return 0;}