結果
問題 |
No.311 z in FizzBuzzString
|
ユーザー |
|
提出日時 | 2016-08-11 15:36:24 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,500 ms |
コード長 | 381 bytes |
コンパイル時間 | 620 ms |
コンパイル使用メモリ | 80,148 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-24 21:46:43 |
合計ジャッジ時間 | 1,151 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
#define _USE_MATH_DEFINES #include<stdio.h> #include<string> #include<iostream> #include<cctype> #include<cstdio> #include<vector> #include<stack> #include <algorithm> #include<math.h> #include<set> #include<map> #include<iomanip> //#include<bits/stdc++.h> using namespace std; int main(){ long long int b,a=0; cin>>b; a+=b/3; a+=b/5; cout<<a*2<<endl; return 0; }