結果

問題 No.508 超ゆとり教育
ユーザー sue_charosue_charo
提出日時 2017-04-29 11:38:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 516 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 10,888 KB
実行使用メモリ 10,024 KB
最終ジャッジ日時 2023-10-11 20:19:18
合計ジャッジ時間 1,440 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
9,904 KB
testcase_01 WA -
testcase_02 AC 30 ms
9,876 KB
testcase_03 AC 30 ms
9,928 KB
testcase_04 AC 31 ms
10,024 KB
testcase_05 AC 30 ms
9,924 KB
testcase_06 AC 31 ms
9,888 KB
testcase_07 AC 30 ms
10,020 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
import array, bisect, collections, heapq, itertools, math, random, re, string, sys, time
sys.setrecursionlimit(10 ** 7)
INF = 10 ** 20
MOD = 10 ** 9 + 7
 
 
def II(): return int(input())
def ILI(): return list(map(int, input().split()))
def IAI(LINE): return [ILI() for __ in range(LINE)]
def IDI(): return {key: value for key, value in ILI()}
 
 
def solve(n):
    ans = int(math.sqrt(n // 3))
    return ans

 
def main():
    n = II()
    print(solve(n))
 
 
if __name__ == "__main__":
    main()
0