結果
問題 |
No.1346 Rectangle
|
ユーザー |
![]() |
提出日時 | 2021-01-16 13:26:45 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 393 bytes |
コンパイル時間 | 1,871 ms |
コンパイル使用メモリ | 190,528 KB |
最終ジャッジ日時 | 2025-01-17 22:02:25 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | AC * 14 WA * 3 |
ソースコード
#include <stdio.h> #include <bits/stdc++.h> using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000000 int main(){ long long N; cin>>N; if(N==2){ cout<<"INF"<<endl; } else{ cout<<2<<endl; return 0; if(N==3)cout<<6<<endl; if(N==4)cout<<5<<endl; if(N==5)cout<<4<<endl; if(N==6)cout<<3<<endl; if(N>=7)cout<<2<<endl; } return 0; }