Submission #3044990
Source Code Expand
# -*- encoding: utf-8 -*- import numpy as np import math x = int(input()) num = 1 max_num = 0 while True: if math.modf(np.sqrt(num))[0] == 0.0: if x >= num: max_num = num else: break num += 1 print(max_num)
Submission Info
Submission Time | |
---|---|
Task | B - Exponential |
User | ogy |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 273 Byte |
Status | WA |
Exec Time | 151 ms |
Memory | 12392 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 200 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_000.txt, 0_001.txt, 0_002.txt |
All | 0_000.txt, 0_001.txt, 0_002.txt, 1_003.txt, 1_004.txt, 1_005.txt, 1_006.txt, 1_007.txt, 1_008.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_000.txt | AC | 148 ms | 12392 KB |
0_001.txt | AC | 148 ms | 12392 KB |
0_002.txt | AC | 151 ms | 12392 KB |
1_003.txt | AC | 151 ms | 12392 KB |
1_004.txt | WA | 150 ms | 12392 KB |
1_005.txt | AC | 149 ms | 12388 KB |
1_006.txt | WA | 151 ms | 12388 KB |
1_007.txt | WA | 149 ms | 12392 KB |
1_008.txt | AC | 149 ms | 12372 KB |