結果

問題 No.3027 114514
ユーザー square1001square1001
提出日時 2017-03-30 18:44:43
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 163 bytes
コンパイル時間 1,977 ms
コンパイル使用メモリ 162,008 KB
実行使用メモリ 4,500 KB
最終ジャッジ日時 2023-09-21 21:06:45
合計ジャッジ時間 2,943 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int n, a[10] = { 7, 8, 9, 4, 5, 6, 1, 2, 3, 0 };
int main() {
	cin >> n; n--;
	cout << a[n - 1] << endl;
	return 0;
}
0