結果
| 問題 |
No.508 超ゆとり教育
|
| コンテスト | |
| ユーザー |
bal4u
|
| 提出日時 | 2019-04-18 09:40:02 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 246 bytes |
| コンパイル時間 | 140 ms |
| コンパイル使用メモリ | 29,440 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-22 08:47:12 |
| 合計ジャッジ時間 | 758 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 7 |
ソースコード
// yukicoder: No.508 超ゆとり教育
// 2019.4.18 bal4u
#include <stdio.h>
#include <math.h>
int main()
{
int ans;
long long n;
scanf("%lld", &n);
ans = (int)sqrt((double)n / 3);
if (ans == 0) ans = 1;
printf("%d\n", ans);
return 0;
}
bal4u