結果
問題 |
No.744 循環小数N桁目 Easy
|
ユーザー |
![]() |
提出日時 | 2019-03-09 15:08:36 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 140 bytes |
コンパイル時間 | 480 ms |
コンパイル使用メモリ | 63,100 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-23 15:12:41 |
合計ジャッジ時間 | 997 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 1 WA * 6 |
ソースコード
#include <iostream> using namespace std; int s[] = { 2, 8, 5, 7, 1, 4 }; int main() { int n; cin >> n; cout << s[n % 7 + 1] << endl; }