Submission #3168515
Source Code Expand
T = int(input()) for _ in range(T): N,D = map(int,input().split()) cookie = [D] while len(cookie)<N: cookie.sort() cookie = cookie[1:] + [127-cookie[0],127] print(sum(cookie))
Submission Info
Submission Time | |
---|---|
Task | C - Cookie Breeding Machine |
User | morio__ |
Language | Python (3.4.3) |
Score | 0 |
Code Size | 214 Byte |
Status | TLE |
Exec Time | 1056 ms |
Memory | 3060 KB |
Judge Result
Set Name | All | ||||
---|---|---|---|---|---|
Score / Max Score | 0 / 100 | ||||
Status |
|
Set Name | Test Cases |
---|---|
All | 00_sample.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
00_sample.txt | AC | 17 ms | 2940 KB |
random_00.txt | TLE | 1056 ms | 3060 KB |
random_01.txt | TLE | 1056 ms | 3060 KB |
random_02.txt | TLE | 1056 ms | 3060 KB |
random_03.txt | TLE | 1055 ms | 3060 KB |
random_04.txt | TLE | 1056 ms | 3060 KB |