結果
| 問題 | No.311 z in FizzBuzzString |
| コンテスト | |
| ユーザー |
yamayam64510577
|
| 提出日時 | 2015-12-08 18:30:44 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 145 bytes |
| 記録 | |
| コンパイル時間 | 217 ms |
| コンパイル使用メモリ | 38,432 KB |
| 実行使用メモリ | 7,972 KB |
| 最終ジャッジ日時 | 2026-04-12 00:31:50 |
| 合計ジャッジ時間 | 886 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 11 |
コンパイルメッセージ
main.cpp:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
2 | main(){
| ^~~~
ソースコード
#include<stdio.h>
main(){
long long int n, x3, x5, ans;
scanf("%d",&n);
x3=n/3;
x5=n/5;
ans=2*x3+2*x5;
printf("%lld\n",ans);
return 0;
}
yamayam64510577