結果
| 問題 | No.311 z in FizzBuzzString |
| コンテスト | |
| ユーザー |
xthexworldx
|
| 提出日時 | 2015-12-04 18:41:36 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 1,500 ms |
| + 353µs | |
| コード長 | 292 bytes |
| 記録 | |
| コンパイル時間 | 758 ms |
| コンパイル使用メモリ | 176,280 KB |
| 実行使用メモリ | 9,792 KB |
| 最終ジャッジ日時 | 2026-09-03 12:16:36 |
| 合計ジャッジ時間 | 1,906 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include <bits/stdc++.h>
using ll = long long;
#define int ll
#define range(i, a, n) for(int (i) = (a); (i) < (n); (i)++)
#define rep(i, n) for(int (i) = 0; (i) < (n); (i)++)
using namespace std;
signed main(void){
int n; cin >> n;
cout << (n / 3 + n / 5) * 2 << endl;
return 0;
}
xthexworldx