結果
問題 | No.311 z in FizzBuzzString |
ユーザー | tntan |
提出日時 | 2015-12-15 02:44:45 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,500 ms |
コード長 | 239 bytes |
コンパイル時間 | 569 ms |
コンパイル使用メモリ | 66,640 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-24 21:27:20 |
合計ジャッジ時間 | 946 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#include <iostream> #include <string> #include <fstream> #include <iomanip> #include <vector> using namespace std; static const int MAX_N = 1000005; int main() { long long n; cin >> n; cout << 2 * (n / 3 + n / 5) << endl; return 0; }