Submission #2498153
Source Code Expand
Copy
# -*- coding: utf-8 -*- import math X = int(input()) sq = int(math.sqrt(X)) ans = 1 for i in range(2, sq+1): for j in range(2, sq+1): if i ** j < X and ans < i ** j: ans = i ** j continue print(ans)
Submission Info
Submission Time | |
---|---|
Task | B - Exponential |
User | Lailaps_poke |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 248 Byte |
Status | WA |
Exec Time | 18 ms |
Memory | 3060 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 | 18 ms | 2940 KB |
0_001.txt | AC | 17 ms | 2940 KB |
0_002.txt | AC | 17 ms | 2940 KB |
1_003.txt | AC | 18 ms | 2940 KB |
1_004.txt | AC | 17 ms | 2940 KB |
1_005.txt | AC | 17 ms | 2940 KB |
1_006.txt | WA | 18 ms | 2940 KB |
1_007.txt | WA | 17 ms | 3060 KB |
1_008.txt | AC | 17 ms | 2940 KB |