結果
| 問題 | No.311 z in FizzBuzzString |
| コンテスト | |
| ユーザー |
koyumeishi
|
| 提出日時 | 2015-12-04 00:01:25 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 1,500 ms |
| + 433µs | |
| コード長 | 321 bytes |
| 記録 | |
| コンパイル時間 | 411 ms |
| コンパイル使用メモリ | 94,400 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-09-03 12:11:14 |
| 合計ジャッジ時間 | 1,580 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include <iostream>
#include <vector>
#include <cstdio>
#include <sstream>
#include <map>
#include <string>
#include <algorithm>
#include <queue>
#include <cmath>
#include <set>
using namespace std;
int main(){
long long n;
cin >> n;
long long ans = 0;
ans += n/3 + n/5;
ans *= 2;
cout << ans << endl;
return 0;
}
koyumeishi