結果

問題 No.311 z in FizzBuzzString
ユーザー focus
提出日時 2018-02-19 00:39:29
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 204 bytes
コンパイル時間 529 ms
コンパイル使用メモリ 68,252 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-24 22:03:31
合計ジャッジ時間 1,022 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 7 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
int main(){
    int N,count=0;
    cin >> N;
    count += (4*(N/15));
    count += (2*(N/3+N/5-2*(N/15)));
    cout << count;
}
0