結果

問題 No.2016 Countdown Divisors
ユーザー keisuke6
提出日時 2022-07-22 21:32:46
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 177 ms / 2,000 ms
コード長 236 bytes
コンパイル時間 3,034 ms
コンパイル使用メモリ 244,596 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-04 05:32:09
合計ジャッジ時間 6,780 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
  int T;
  cin>>T;
  for(int i=0;i<T;i++){
      int N;
      cin>>N;
      if(N == 2 || N == 6 || N > 8) cout<<2<<endl;
      else cout<<1<<endl;
  }
}
0