結果
問題 |
No.8027 114514
|
ユーザー |
|
提出日時 | 2018-03-07 16:44:52 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 521 bytes |
コンパイル時間 | 1,782 ms |
コンパイル使用メモリ | 164,876 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-02 10:45:35 |
合計ジャッジ時間 | 2,281 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 7 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int N; int iAns; cin >> N; iAns = 2; if( N == 1 ) cout << 7 << endl; else if( N == 2 ) cout << 1<< endl; else if( N == 3 ) cout << 1<< endl; else if( N == 4 ) cout << -1 << endl; else if( N == 5 ) cout << 5 << endl; else if( N == 6 ) cout << iAns << endl; else if( N == 7 ) cout << iAns << endl; else if( N == 8 ) cout << iAns << endl; else if( N == 9 ) cout << iAns << endl; else if( N == 10 ) cout << 1<< endl; return 0; }