| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 655597 | Garfield | Ljeto (COCI21_ljeto) | Cpython 3 | 17 ms | 2844 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
n = int(input())
ascore = 0
bscore = 0
t1 = 0
a1 = 0
b1 = 0
for i in range(n):
t2, a2, b2 = [int(i) for i in input().split()]
points = 100
if t2 - t1 <= 10 and a2 == a1:
points += 50
if a2 <= 4:
ascore += points
else:
bscore += points
t1, a1, b1 = t2, a2, b2
print(ascore, bscore)| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
