結果

問題 No.1346 Rectangle
ユーザー umezoumezo
提出日時 2021-01-16 13:56:07
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 23 ms / 2,000 ms
コード長 373 bytes
コンパイル時間 1,906 ms
コンパイル使用メモリ 192,772 KB
最終ジャッジ日時 2025-01-17 22:25:40
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define ALL(v) v.begin(),v.end()
typedef long long ll;

#include <bits/stdc++.h>
using namespace std;

int main(){
  ll n;
  cin>>n;
  
  if(n==2) cout<<"INF"<<endl;
  else if(n==3) cout<<6<<endl;
  else if(n==4) cout<<6<<endl;
  else if(n==5) cout<<4<<endl;
  else if(n==6) cout<<4<<endl;
  else cout<<2<<endl;
  
  return 0;
}
0