結果
| 問題 |
No.311 z in FizzBuzzString
|
| コンテスト | |
| ユーザー |
nCk_cv
|
| 提出日時 | 2015-12-06 20:16:01 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,500 ms |
| コード長 | 279 bytes |
| コンパイル時間 | 596 ms |
| コンパイル使用メモリ | 70,800 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-24 21:24:09 |
| 合計ジャッジ時間 | 1,016 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include <iostream>
#include <vector>
#include <math.h>
#include <stdio.h>
#include <algorithm>
#include <string>
#include <map>
#include <queue>
#define ll long long
int main() {
ll N;
std::cin >> N;
ll count = N / 3 * 2 + N / 5 * 2;
std::cout << count << std::endl;
}
nCk_cv