結果

問題 No.863 計算量
ユーザー butsurizukibutsurizuki
提出日時 2019-08-15 01:30:36
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 324 bytes
コンパイル時間 1,075 ms
コンパイル使用メモリ 27,648 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-19 14:42:47
合計ジャッジ時間 806 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
#include<assert.h>
#include<stdbool.h>

int main(){
  int a,b;
  scanf("%d%d",&a,&b);
  if(!(1<=a&&a<=25000000)){
    assert(false);
    return -1;
  }
  if(!(1<=b&&b<=1000000000)){
    assert(false);
    return -1;
  }
  if(b/a <= 820){
    printf("1\n");
  }
  else{
    printf("2\n");
  }
  return 0;
}
0