結果

問題 No.311 z in FizzBuzzString
ユーザー Maeda
提出日時 2025-03-27 16:34:36
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 1,500 ms
コード長 118 bytes
コンパイル時間 539 ms
コンパイル使用メモリ 24,576 KB
実行使用メモリ 7,324 KB
最終ジャッジ日時 2025-03-27 16:34:38
合計ジャッジ時間 1,549 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:5:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    5 |     scanf("%lld",&n);
      |     ^~~~~~~~~~~~~~~~

ソースコード

diff #

#include <stdio.h>

void main(void){
	long long int n = 0 ;
    scanf("%lld",&n);
    printf("%lld",(n/5 + n/3)* 2);
}
0