結果
問題 |
No.744 循環小数N桁目 Easy
|
ユーザー |
|
提出日時 | 2018-10-19 21:41:02 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 154 bytes |
コンパイル時間 | 636 ms |
コンパイル使用メモリ | 67,576 KB |
最終ジャッジ日時 | 2025-01-06 14:37:44 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 7 |
ソースコード
#include <iostream> int main() { int N; std::cin >> N; const std::string ans = "285714"; std::cout << ans[N%6]<<std::endl; return 0; }