Показать все ветки Спрятать все ветки Показать все сообщения Спрятать все сообщения |
#WA 8. Reasons. | vtalgo17_EN | 1444. Накормить элефпотама | 26 мар 2022 17:25 | 2 |
Please, give me some test! Or, may be, give some advices about this test. if you are dividing something by something, make sure to account for the case where, due to precision double,dividing of two different points gives the same result |
Has anyone calculated the maximum possible number of boxes? | † SiriuS † | 1589. Сокобан | 25 мар 2022 18:19 | 1 |
My max value is 13: ######## #@ $.$.# # $.$.# #$ $.$.# #. $.$.# #$ $.$.# #. $.# ######## Has anybody found more? |
WA 13 | hotguy6pack | 1303. Минимальное покрытие | 25 мар 2022 08:19 | 3 |
WA 13 hotguy6pack 24 мар 2022 01:41 i have tried all cases and it seems correct but cant pass test 13. Can someone help me what is test 13??? Английский я знаю плохо, поэтому sorry:) У меня тоже был WA 12. Попробуй тест: 1 49999 50000 0 0 TY so much <3 :(( Английский я знаю плохо, поэтому sorry:) У меня тоже был WA 12. Попробуй тест: 1 49999 50000 0 0 Edited by author 25.03.2022 08:26 |
what is wrong with the solution??? С++ | abram fedor | 1935. Слёзы утопленников | 25 мар 2022 06:29 | 1 |
#include <iostream> using namespace std; int main() { int n,c; cin>>n; int a[n]; for(int i=0;i<n;i++) cin>>a[i]; for(int i=0;i<n;i++){ for(int j=0;j<n;j++) if(a[i]<a[j]){c=a[i];a[i]=a[j];a[j]=c;} } c=a[n-1]; for(int i=0;i<n;i++) c=c+a[i]; cout<<c; return 0; } Edited by author 25.03.2022 06:30 |
05580 с++ | abram fedor | 2100. Свадебный обед | 25 мар 2022 06:13 | 1 |
#include <iostream> using namespace std; int main() { int n, x=2; cin>>n; x += n; while(n--) { string s; cin >> s; for(int i=0; i<s.size(); i++) { if(s[i]=='+') { x++; } } } if(x!=13) cout << 100*x<< endl; else cout << 100*(x+1) << endl;
return 0; } Edited by author 25.03.2022 06:15 Edited by author 25.03.2022 06:15 |
Test #11 | Danlo | 1494. Монобильярд | 23 мар 2022 23:50 | 2 |
If you get WA on test #11, try this test: 4 1 3 4 2 Not a proof Thanks man, I appreciate it |
WA2 | Kirill~ | 1982. План электрификации | 23 мар 2022 22:37 | 1 |
WA2 Kirill~ 23 мар 2022 22:37 Check this: if (!used[j] and min_e[j] < min_e[v] and j!=v) { Edited by author 23.03.2022 22:57 |
Test 4 C# HELP PLEASE! | Mokhova Anastasiya | 1258. Бильярд | 22 мар 2022 22:30 | 1 |
The C# solution fails test #4. Error: Runtime error (access violation). But in C++, exactly the same solution passed. Does test 4 in this problem contain correct data? |
If WA8, here's hint | wangbicheng1 | 1184. Cable Master | 21 мар 2022 23:57 | 2 |
Notice that the number of pieces you cut the cables needn't be precisely equal to k. Just >=k is OK. |
Hint | Kirill~ | 1295. Бред | 21 мар 2022 17:48 | 1 |
Hint Kirill~ 21 мар 2022 17:48 It' strange task. My solution is SO STUPID. Watch at 2 last numbers of (k,n), where k = {1,2,3,4} Edited by author 21.03.2022 17:49 |
Hints. Many hints for desperate people | Kirill~ | 2018. Дебютный альбом | 20 мар 2022 22:02 | 1 |
Hint 1: How many sequences end with '1' or '2' Hint 2: s_a[0] = 1; s_b[0] = 1; Hint 3: s_a[i+j] = (s_a[i+j] + s_b[i])%inf; Where i+j <=n and i<n and j<= a Repeat this with s_b Good luck! :) |
WA #10 | Stephen Ostapenko | 1419. Карта мира 40 островов | 20 мар 2022 15:35 | 2 |
WA #10 Stephen Ostapenko 31 авг 2017 20:20 What can you tell me about test#10? Is it correct? |
Hint | Kirill~ | 1352. Простые числа Мерсенна | 19 мар 2022 11:52 | 1 |
Hint Kirill~ 19 мар 2022 11:52 vector <int> mas = {2, 3, 5, 7, 13, 17, 19, 31, 61, 89, 107, 127, 521, 607, 1279, 2203, 2281, 3217, 4253, 4423, 9689, 9941, 11213, 19937, 21701, 23209, 44497, 86243, 110503, 132049, 216091, 756839, 859433, 1257787, 1398269, 2976221, 3021377, 6972593, 13466917, 20996011, 24036583, 25964951, 30402457, 32582657, 37156667, 42643801, 43112609, 57885161}; |
Hint | Kirill~ | 1712. Шифровальная решётка | 18 мар 2022 22:58 | 1 |
Hint Kirill~ 18 мар 2022 22:58 pair <int,int> rotate(int x,int y) { return make_pair(y,3-x); } |
WA 9 | andreyDagger | 1928. И вновь про экологию | 17 мар 2022 22:48 | 1 |
WA 9 andreyDagger 17 мар 2022 22:48 Changed < to <= when comparing dp values, and got AC |
How long it is until this Problem unlocked | DarksideCoder | 1500. Разрешения на проезд | 17 мар 2022 19:07 | 1 |
|
Be Careful | DarksideCoder | 1721. Две стороны одной монеты | 16 мар 2022 17:38 | 1 |
The man texted "anything" can only do one work |
WA#9 | Makarov | 1112. Покрытие | 15 мар 2022 18:04 | 1 |
WA#9 Makarov 15 мар 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. Демократичная олимпиада | 14 мар 2022 22:15 | 1 |
What is the data in the test 19? |
test | panther.uz | 1642. Одномерный лабиринт | 13 мар 2022 21:42 | 4 |
test panther.uz 4 апр 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. |