Hi,
Is there anything wrong with codeforces Compilers/Interpreters around 9.30 — 11.00 IST. All my submissons are stucked in 'In queue' status.
I can see submissions from other participants also stucked.
# | User | Rating |
---|---|---|
1 | ecnerwala | 3648 |
2 | Benq | 3580 |
3 | orzdevinwang | 3570 |
4 | cnnfls_csy | 3569 |
5 | Geothermal | 3568 |
6 | tourist | 3565 |
7 | maroonrk | 3530 |
8 | Radewoosh | 3520 |
9 | Um_nik | 3481 |
10 | jiangly | 3467 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 174 |
2 | adamant | 164 |
2 | awoo | 164 |
4 | TheScrasse | 160 |
5 | nor | 159 |
6 | maroonrk | 156 |
7 | -is-this-fft- | 150 |
7 | SecondThread | 150 |
9 | orz | 146 |
10 | pajenegod | 145 |
Hi,
Is there anything wrong with codeforces Compilers/Interpreters around 9.30 — 11.00 IST. All my submissons are stucked in 'In queue' status.
I can see submissions from other participants also stucked.
n = int(input())
x = list(map(int,input().split()))
y = list(map(int,input().split()))
xy = set(x)
xy.update(y)
flag = False
while n > 0:
if n in xy:
n -= 1
continue
else:
flag = True
break
if flag:
print('Oh, my keyboard!')
else:
print('I become the guy.')
As per my understanding of the problem desc, I am not missing anything here. I am new here so correct me if I am wrong.
Test case description. Input 3
1 2
2 2 3
Participant's output I become the guy.
Jury's answer Oh, my keyboard!
Checker comment wrong answer 1st lines differ — expected: 'Oh, my keyboard!', found: 'I become the guy.'
Getting a time limit exceeds error on test #7. Help and understanding of efficient solution would be well appreciated.
n = int(input())
string = ''
group_count = 0
for i in range(n):
num = input()
if i == 0 or num[0] == string[-1]:
string += num
group_count += 1
else:
string += num
print(group_count)
Hi,
I am new to this platform and started solving problems by difficulty level starting from basic. This problem 116A-Tram, which gives task to find the trams min capacity. Submission Id: 90279549
It showing error on test #3, however when I runs the same code in my local machine its showing perfect answer which is 11. Screenshot is attached for output verification.
n = int(input())
stops = []
total = 0
for i in range(n):
stop = list(map(int,input().split()))
stops.append(stop)
max_total = stops[0][0]
for i in range(4):
total = stops[i][1] + (total - stops[i][0])
if total >= max_total:
max_total = total
print(max_total)
Name |
---|