結果

問題 No.746 7の倍数
ユーザー 👑 CleyL
提出日時 2020-02-18 03:23:13
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 248 bytes
コンパイル時間 443 ms
コンパイル使用メモリ 63,896 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-06 15:22:01
合計ジャッジ時間 1,164 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int nya[4] = {1,4,2,8};
int main(){
    int n;cin>>n;
    cout << 0;
    if(n){
        cout << ".";
        for(int i = 0; n > i; i++){
            cout << nya[i%4];
        }
    }
    cout << endl;
    
}
0