結果

問題 No.744 循環小数N桁目 Easy
ユーザー Y17Y17
提出日時 2018-10-22 00:15:45
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 153 bytes
コンパイル時間 1,692 ms
コンパイル使用メモリ 142,568 KB
実行使用メモリ 4,388 KB
最終ジャッジ日時 2023-08-12 05:53:14
合計ジャッジ時間 3,461 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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

int main(){
    int n;
    int tmp[7] = {4,2,8,5,7,1};
    cin >> n;
    cout << tmp[n/6];
    return 0;
}
0