| Show all threads Hide all threads Show all messages Hide all messages |
| First Test | vtalgo20_GSavin | 1160. Network | 15 Apr 2020 01:13 | 1 |
The first test is something like this 4 4 1 2 1 2 3 1 3 4 2 4 1 1 I hope this helps you |
| IF WA 5 | Toshpulatov (MSU Tashkent) | 2132. Graph Decomposition. Version 2 | 14 Apr 2020 15:35 | 1 |
IF WA 5 Toshpulatov (MSU Tashkent) 14 Apr 2020 15:35 |
| ХИНТ | Toshpulatov (MSU Tashkent) | 2148. Insane Shot | 14 Apr 2020 14:45 | 2 |
ХИНТ Toshpulatov (MSU Tashkent) 16 Feb 2020 19:42 Подумайте о пересечение прямой из данных двух точек с окружностью а потом о треугольниках Edited by author 16.02.2020 19:45 Re: ХИНТ Kairom `Ekexity 💻 14 Apr 2020 14:45 И ни в коем случае не думайте о зебрах |
| If you are dumb like me and getting WA3 | Md sabbir Rahman | 1673. Admission to Exam | 14 Apr 2020 11:42 | 1 |
phi(n) is not equal to number of coprime less than n, IT IS THE NUMBER OF COPRIMES LESS THAN OR EQUAL TO N. the formula of phi(n) work for all except a special number. |
| WA #5 why?? | AGrigorii [Yaroslavl SU]🔥 | 1935. Tears of Drowned | 14 Apr 2020 10:54 | 6 |
WA #5 why?? AGrigorii [Yaroslavl SU]🔥 14 Nov 2012 23:46 give me this test please.. 6 1 3 2 5 4 6 Answer: 27 May be this is not 5th test, but if you can solve this, you'll understand what's wrong in your current solving. :-) Can you explain it to me, how you get 27? |
| WA#5 | pavelkaryukov | 1586. Threeprime Numbers | 14 Apr 2020 10:01 | 2 |
WA#5 pavelkaryukov 10 Apr 2020 10:08 Achtung! Time limit exceeded Error :( does anyone knows test 5? thank you! Re: WA#5 pavelkaryukov 14 Apr 2020 10:01 big number(10000 maybe) and time more 1 sec. |
| TEST | Toshpulatov (MSU Tashkent) | 2132. Graph Decomposition. Version 2 | 14 Apr 2020 06:49 | 1 |
TEST Toshpulatov (MSU Tashkent) 14 Apr 2020 06:49 |
| Advice if you're getting WA | Md sabbir Rahman | 2120. Tree Average Weight | 12 Apr 2020 21:24 | 1 |
Putting the intermediary values in long double won't work, At least I couldn't get them to work. Putting them in long long and dividing at the end also won't work. You'll have to do something between these two ( ͡° ͜ʖ ͡°) |
| How to prove the "untill 100 percent" algorithm? | Incognito | 1138. Integer Percentage | 12 Apr 2020 07:02 | 1 |
|
| Те у кого wa2, 6, 22 и тд | Toshpulatov (MSU Tashkent) | 1334. Checkers | 11 Apr 2020 16:04 | 1 |
Не слушайте тех кто пишет что убрал проверку за границы и зашла и все в таком духе. Возможно у вас такая же ошибка как и у меня, а то есть когда ввели новые координаты я проверял только то что может ли эту новую координату кто то ударить, а надо было еще проверить что может ли новая координа ударить кого то из врагов |
| To Admins / My solution need to be rejudged ) | Alexey Chernenkov (Deprecated) | 1112. Cover | 10 Apr 2020 16:16 | 8 |
I use some shamanism ang get AC. Lets see to the next test: 6 0 20 10 50 30 100 60 120 70 130 110 140 my AC prog outputs: 2 10 50 110 140 but right answer of course is: 3 0 20 30 100 110 140 Your tests must be stronger Your test is added. Problem will be rejudged soon. test 6 0 -20 -10 -50 -30 -100 -60 -120 -70 -130 -110 -140 my AC solution have answer 2 -140 -110 -50 -10 on this test, so you've fucked up twice You have fucked up three times with wrong test my answer is : 10 50 60 120 70 130 this problem is quite easy but output is difficult to suitable to right answer !!!!! perhaps i get WA because of it Edited by author 15.03.2009 12:34 Thanks For the test~ I wa#12 and the test helped me. Edited by author 26.11.2009 08:19 |
| В условии неверно описан формат тестов | yz | 1003. Parity | 10 Apr 2020 14:24 | 2 |
Извините, что по-русски, надеюсь, администраторы знают этот язык. В условии сказано, что длина последовательности задается в первой строке каждого теста. В примерах на форуме длина общая для всех, в каждом тесте задается только количество вопросов. Моя AC-программа действует по форуму: читает длину один раз, а потом только количество вопросов для каждого теста. Хорошо бы привести текст задачи в соответствие с реальностью. Совсем хорошо было бы дать в примере два теста, чтобы сделать структуру входных данных действительно ясной. |
| Stuck on Test 6? Read Here! | William Lam | 1654. Cipher Message | 8 Apr 2020 23:22 | 6 |
For Time limit exceeded: If you get time limit exceeded, it must mean that you're trying to modify the input string (i.e. trying to delete i-th chars). Try creating a new OUTPUT string without modifying the INPUT string. Note: if you're using a high language such as java or C#, try using the StringBuilder object to build your output string. For Wrong Answer(WA): If you get WA, try some of these test cases: Input: "dddd" Output: "" Input: "ddddd" Output: "d" Input: "abba" Output: "" Input: "abbbbac" Output: "c" Input: "wliisddsmmleeddw" Output: "" Input: "avcbbffcv" Output: "a" Hope this helps. Edited by author 12.07.2012 00:47 Input: "abbbbac" Output: "c" Спасибо, помогло! For Time limit exceeded: If you get time limit exceeded, it must mean that you're trying to modify the input string (i.e. trying to delete i-th chars). Try creating a new OUTPUT string without modifying the INPUT string. Note: if you're using a high language such as java or C#, try using the StringBuilder object to build your output string. For Wrong Answer(WA): If you get WA, try some of these test cases: Input: "dddd" Output: "" Input: "ddddd" Output: "d" Input: "abba" Output: "" Input: "abbbbac" Output: "c" Input: "wliisddsmmleeddw" Output: "" Input: "avcbbffcv" Output: "a" Hope this helps. Edited by author 12.07.2012 00:47 Thanks a lot...I could'n understand the problem statement first, now, reading ur comment I clearly understood the problem. for me problem was that program was returning "axx" on "aaaxx" Edited by author 18.03.2017 19:56 |
| Why is it showing wrong answer? I have given a lot of input. In my pc this program is showing correct answer all the time. | mars | 1787. Turn for MEGA | 6 Apr 2020 22:32 | 1 |
#include<iostream> using namespace std; int main(){ int k, n, arr[101],x=0; cin>>k>>n;
for(int i=0; i<n; i++){ cin>> arr[i];
} for(int i=0;i<n;i++){ if(k>=arr[i]){ if(i != n-1){ x = x + arr[i+1]; arr[i+1] = x;
x = 0;
} else{ x = 0; }
} else{ if(i != n-1){ x = (arr[i]-k) + arr[i+1]; arr[i+1] = x;
} else{ x = arr[i] - k; } } // printf("X : %d\n",x); } if(x<=0) cout<<0; else cout<<x;
} |
| No subject | mmd18cury | 1146. Maximum Sum | 6 Apr 2020 16:04 | 1 |
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n; cin >> n; vector <vector <int>> a(n, vector <int> (n)); for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { cin >> a[i][j]; } } int ans = a[0][0]; for (int leng = 1; leng <= n; leng++){ for (int up = 0; up <= n-leng; up++){ vector <long long> sumv(n); for (int j = 0; j < n; j++) { for (int i = up; i < up + leng; i++) { sumv[j] += a[i][j]; } } int sum = 0; for (int r = 0; r < n; ++r) { sum += sumv[r]; ans = max(ans, sum); sum = max(sum, 0); } } } cout << ans; } |
| WA8 but passes ALL tests in discussion | Ulugbek#& | 1354. Palindrome. Again Palindrome | 6 Apr 2020 13:16 | 2 |
has anybody got WA8 too? I tried all tests in forum but it didn't help :( Be careful when you implement Manacher's algorithm, when you copy the ready part for the second part, don't forget making all the needed changes, I forgot changing just one sign ! |
| No subject | mmd18cury | 1226. esreveR redrO | 6 Apr 2020 04:43 | 1 |
#include <iostream> #include <string> #include <algorithm> using namespace std; int main() { string c = "a"; string word; for (;;) { c = getc(stdin); if (c[0] == EOF) { reverse(word.begin(), word.end()); cout << word; break; } if (((c[0] >= 'a') && (c[0] <= 'z')) || ((c[0] >= 'A') && (c[0] <= 'Z'))) { word.append(c); } else { reverse(word.begin(), word.end()); cout << word << c; word.clear(); } } } |
| #Test_13 | Nobodyquennteam | 1471. Distance in the Tree | 4 Apr 2020 14:52 | 1 |
#Test_13 Nobodyquennteam 4 Apr 2020 14:52 |
| IF you have TL and use sqrt + map | Toshpulatov (MSU Tashkent) | 1846. GCD 2010 | 3 Apr 2020 00:21 | 1 |
instead map use unordered_map |
| do you know what test 12 is? | STAVASD | 1354. Palindrome. Again Palindrome | 1 Apr 2020 19:22 | 4 |
once I've solved this exercise, but know a vontto make my algorithm better. I've forced whith WA#12. Could you tell me this test? I've solved it!!))) if you have the same problem, try test: 1233345333 ansver: 12333453335433321 |