結果
問題 | No.311 z in FizzBuzzString |
ユーザー |
![]() |
提出日時 | 2015-12-08 12:48:40 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,500 ms |
コード長 | 274 bytes |
コンパイル時間 | 367 ms |
コンパイル使用メモリ | 54,340 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-24 21:25:00 |
合計ジャッジ時間 | 849 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#include <iostream>using namespace std;static constexpr int FizzNum = 2;static constexpr int BuzzNum = 2;static constexpr int FizzBuzzNum = 4;int main(){unsigned long long v = 0;cin >> v;cout << ( ( v / 3 ) * 2 + ( v / 5 ) * 2 ) << endl;}