結果

問題 No.508 超ゆとり教育
ユーザー suwaharu
提出日時 2017-04-28 22:29:07
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 110 bytes
コンパイル時間 164 ms
コンパイル使用メモリ 30,848 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-13 18:02:46
合計ジャッジ時間 930 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 5 WA * 2
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:6:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    6 |         scanf("%d",&a);
      |         ~~~~~^~~~~~~~~

ソースコード

diff #

#include<stdio.h>
#include<math.h>
int main(void)
{
	int a;
	scanf("%d",&a);
	printf("%d\n",(int)sqrt(a/3));
}
0