結果

問題 No.294 SuperFizzBuzz
ユーザー maimai
提出日時 2017-10-01 21:40:44
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 361 bytes
コンパイル時間 2,187 ms
コンパイル使用メモリ 159,512 KB
実行使用メモリ 4,508 KB
最終ジャッジ日時 2023-09-18 23:41:47
合計ジャッジ時間 5,584 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

char buff[99];
ll n;
{
    rd(n);
    rep(keta,2,99){
        rep(b,1<<keta){
            int c=__builtin_popcount(b);
            if(c*5%3)continue;
            if(!--n){
                int i=98;
                while(b)buff[--i]=b&1?'5':'3';
                buff[--i]='5';
                wt(buff+i);
                exit(0);
            }
        }
    }
}
0