結果

問題 No.8027 114514
ユーザー kurenai3110
提出日時 2017-03-31 23:43:42
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 214 bytes
コンパイル時間 374 ms
コンパイル使用メモリ 58,876 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-07 14:48:14
合計ジャッジ時間 823 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;

int main()
{
	int a[] = {7,8,9,4,5,6,1,2,3,0};
	int n; cin >> n;

	cout << a[n - 1] << endl;

    return false;
}

0