| Show all threads Hide all threads Show all messages Hide all messages |
| WA 9 | andreyDagger | 1928. Another Ecology Problem | 17 Mar 2022 22:48 | 1 |
WA 9 andreyDagger 17 Mar 2022 22:48 Changed < to <= when comparing dp values, and got AC |
| How long it is until this Problem unlocked | DarksideCoder | 1500. Pass Licenses | 17 Mar 2022 19:07 | 1 |
|
| Be Careful | DarksideCoder | 1721. Two Sides of the Same Coin | 16 Mar 2022 17:38 | 1 |
The man texted "anything" can only do one work |
| WA#9 | Makarov | 1112. Cover | 15 Mar 2022 18:04 | 1 |
WA#9 Makarov 15 Mar 2022 18:04 What's Test 9? I saw, that Test 9: 7 1 3 2 5 2 5 4 7 6 9 6 9 8 10 My answer: 3 1 3 4 7 8 10 What's correct answer? |
| Runtime error on test 19 | Nikita Serikov | 2145. Olympiad for Everyone | 14 Mar 2022 22:15 | 1 |
What is the data in the test 19? |
| test | panther.uz | 1642. 1D Maze | 13 Mar 2022 21:42 | 4 |
test panther.uz 4 Apr 2013 01:33 what is answer for that test 5 -9 4 -8 -6 1 -10 ? obstacles -8 and -6 prevent you from going to point -9. |
| Time limit exceeded on test 20 on python | Malve | 1330. Intervals | 12 Mar 2022 13:49 | 1 |
Can you suggest what is causing this error. N = int(input()) s = [0] for i in range(N): k = int(input()) s.append(int(s[i] + k)) Q = int(input()) while Q: l, r = map(int, input().split()) print(s[r] - s[l-1]) Q -= 1 |
| great tests | taobingxue | 1361. Spaceology vs. Chronistics | 11 Mar 2022 18:25 | 4 |
35 15 2 0 6 0 8 15 0 18 4 0 18 0 7 0 13 0 24 1 0 24 0 22 21 0 4 15 0 15 11 0 26 0 31 21 0 32 2 0 2 0 13 1 0 29 4 0 5 8 0 28 18 0 8 16 0 8 27 0 29 18 0 13 26 0 1 0 14 0 25 35 0 10 25 0 3 0 23 9 0 1 8 0 19 26 0 10 20 0 33 0 26 0 27 16 ans:12 28 5 0 15 0 8 22 0 23 20 0 6 19 0 1 22 0 9 28 0 14 15 0 5 0 7 18 0 18 0 16 0 27 0 8 0 27 0 19 3 0 24 8 0 2 25 0 22 0 15 12 0 8 5 0 12 0 6 0 2 9 0 25 0 9 9 0 9 0 2 0 19 15 ans:4 38 19 36 0 15 0 23 0 17 0 9 0 34 0 13 10 0 15 0 15 4 0 26 0 5 33 0 34 0 9 0 29 0 4 0 4 20 0 24 0 3 38 0 27 0 22 7 0 35 27 0 8 0 34 36 0 5 33 0 22 7 0 18 26 0 26 17 0 22 0 12 0 27 0 8 8 0 35 0 24 0 31 0 23 0 6 0 18 0 16 27 0 9 35 ans:7 37 34 0 16 3 0 24 0 14 24 0 33 18 0 17 0 33 32 0 18 16 0 19 1 0 8 0 29 34 0 1 25 0 7 3 0 28 0 34 0 1 21 0 36 0 18 0 36 21 0 27 0 14 0 15 5 0 33 0 9 32 0 35 14 0 22 1 0 18 35 0 6 0 30 0 1 2 0 30 0 20 0 18 0 30 0 30 0 11 0 15 37 0 1 6 ans:4 I hope they can help you~ Edited by author 26.08.2009 18:29 your tests are simply. i got WA6 and got right answers on your tests. now AC So how to deal with WA#6? |
| Какой 3 тест? | Николай Б | 2149. Pigeonhole Principle | 11 Mar 2022 10:24 | 2 |
8 <@...<@...<@...<@.....@>...@>...@>...@> .OO=..OO=..OO=..OO=.=OO..=OO..=OO..=OO. ./\.../\.../\.../\.../\.../\.../\.../\. Answer: 0 |
| Wrong answer in test #6 | Nail | 2078. Bowling game | 10 Mar 2022 13:03 | 1 |
Help me: Wrong answer in test #6 |
| TEST №20, SOLVED | ilya.fedotov | 2078. Bowling game | 10 Mar 2022 01:07 | 2 |
Wrong answer in test №20, help Edited by author 10.03.2022 01:08 0 0 0 0 0 0 0 0 10 17 check this |
| TEST 4 ??? | Ruslan | 1207. Median on the Plane | 9 Mar 2022 23:03 | 1 |
|
| what's the test case 7???? All the cases given hv been passed alr... | flyingpig | 1189. Pairs of Integers | 9 Mar 2022 14:45 | 2 |
what's the test case 7???? All the cases given hv been passed alr... |
| Wrong answer. Help pls!! C++ | TIU_Sarexer | 1991. The battle near the swamp | 9 Mar 2022 01:34 | 4 |
#include <iostream> using namespace std; int main() { int n, k, *arr,raz,y=0,ost=0; cin >> n >> k; arr = new int[n]; for (int i = 0; i < n; i++) { cin >> arr[i]; } for (int i = 0; i < n; i++) { raz = 5 - arr[i]; if (raz >= 0) { y = y + raz; } else { y = y; ost = ost + raz * -1; } } cout << ost << " " << y; return 0; } > raz = 5 - arr[i]; Why "5" ? ahahah I'm stupid :D Thanks) the task could be solved by shorter way // 2022-03-08.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> using namespace std; int main() { int n, k; cin >> n >> k; int droid = 0, bum = 0; int tempBum; for (int i = 0; i < n; i++) { cin >> tempBum; if (tempBum > k) { bum += tempBum - k; } if (k > tempBum) { droid += k - tempBum; } } cout << bum << " " << droid; } |
| WA11 | Tapti | 1074. Very Short Problem | 7 Mar 2022 10:49 | 1 |
WA11 Tapti 7 Mar 2022 10:49 try 12.12.12 1 Not a floating point number |
| test | Gleb_Kazantaev(NNSTU) | 1671. Anansi's Cobweb | 5 Mar 2022 23:50 | 3 |
test Gleb_Kazantaev(NNSTU) 2 Nov 2014 02:46 5 7 1 2 2 3 1 4 4 5 1 5 2 5 4 3 4 3 4 7 2 ans: 1 1 2 3 Re: test Амир Меннибаев 18 Jul 2017 19:53 Re: test Prabhvir Singh Babra 5 Mar 2022 23:50 Thank you so much! This really helped me debug :). |
| Got AC with one attemt :) | Anton Smoliakov | 1711. Code Names | 4 Mar 2022 12:02 | 1 |
On the first sight i thought i'd need O(3 ^ 16) but the problem is much easier. |
| Hint | Liol | 1013. K-based Numbers. Version 3 | 3 Mar 2022 10:48 | 1 |
Hint Liol 3 Mar 2022 10:48 if you WA on #3 ,please use unsigned __int64 and high-accuracy if you WA on #9 ,try this 2 10 3 The answer is 0 Edited by author 03.03.2022 10:56 |
| help (python) | quarylaniel | 1880. Psych Up's Eigenvalues | 2 Mar 2022 23:20 | 1 |
cnt = 0 a = int(input()) a1 = list(map(int, input().split())) b = int(input()) b1 = list(map(int, input().split())) c = int(input()) c1 = list(map(int, input().split())) for i in a1 : if i in b1 and c1 and a1 : cnt += 1 print(cnt) what is wrong? tells "wrong answer" |
| WA 26 | andreyDagger | 1966. Cycling Roads | 2 Mar 2022 19:41 | 1 |
WA 26 andreyDagger 2 Mar 2022 19:41 Probably you're getting overflow |