結果
| 問題 |
No.744 循環小数N桁目 Easy
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-01-01 10:39:43 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 365 bytes |
| コンパイル時間 | 1,030 ms |
| コンパイル使用メモリ | 86,468 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-06 18:40:10 |
| 合計ジャッジ時間 | 1,740 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 1 WA * 6 |
ソースコード
#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <map>
#include <set>
#include <stdio.h>
#include <cstring>
#include <queue>
#include <stack>
#include <functional>
#include <random>
using namespace std;
#define Would
#define you
int seve[] = { 2,8,5,7,1,4 };
int main() {
int n;
cin >> n;
cout << seve[n % 7 + 1] << endl;
}