| Показать все ветки Спрятать все ветки Показать все сообщения Спрятать все сообщения |
| wa 20, 26 | 👑TIMOFEY👑`~ | 1647. Раздел острова | 19 июл 2024 13:19 | 1 |
|
| WA 27 | 👑TIMOFEY👑`~ | 1773. Метро в каждый дом | 19 июл 2024 11:48 | 1 |
WA 27 👑TIMOFEY👑`~ 19 июл 2024 11:48 |
| RE 13 | 👑TIMOFEY👑`~ | 1773. Метро в каждый дом | 19 июл 2024 11:48 | 1 |
RE 13 👑TIMOFEY👑`~ 19 июл 2024 11:48 |
| wa29 | 👑TIMOFEY👑`~ | 1872. Просторный офис | 18 июл 2024 14:11 | 1 |
wa29 👑TIMOFEY👑`~ 18 июл 2024 14:11 you print Ask Shiftman for help. once again, although the correct answer is Perfect |
| wa 4 | 👑TIMOFEY👑`~ | 1633. О гиппогрифах | 18 июл 2024 13:49 | 1 |
wa 4 👑TIMOFEY👑`~ 18 июл 2024 13:49 |
| easy bfs | 👑TIMOFEY👑`~ | 1235. Cricket Field | 18 июл 2024 13:19 | 1 |
|
| wa 25 wa 28 | 👑TIMOFEY👑`~ | 1285. Нитка в гиперкосмосе | 17 июл 2024 20:05 | 1 |
super incomprehensible, in general the tests are about some kind of accuracy, you need to make 100 parcels and try different epsilons everywhere to pass these tests, it pissed me off |
| wa21 | 👑TIMOFEY👑`~ | 1285. Нитка в гиперкосмосе | 17 июл 2024 19:47 | 1 |
wa21 👑TIMOFEY👑`~ 17 июл 2024 19:47 hypercircle does not interfere with the thread |
| easy bfs | 👑TIMOFEY👑`~ | 1338. Автомобили | 17 июл 2024 16:53 | 2 |
Yeah, but i hate bfs on grid |
| wa 4 | 👑TIMOFEY👑`~ | 1932. Тайна идентификатора | 17 июл 2024 13:58 | 1 |
wa 4 👑TIMOFEY👑`~ 17 июл 2024 13:58 |
| wa5 | 👑TIMOFEY👑`~ | 1875. Angry Birds | 17 июл 2024 11:40 | 1 |
wa5 👑TIMOFEY👑`~ 17 июл 2024 11:40 dont forgot about solo points |
| One test for you | Hououin`~`Kyouma | 1767. Дом доктора Ди | 17 июл 2024 11:14 | 1 |
Try this one 0 0 1 1 1 0 2 -1 Ans: 0 |
| If you have WA#8 | Keworker `~ | 1753. Книжная полка | 15 июл 2024 14:50 | 1 |
Try: 101 203 1000 Or: 1 3 1000 |
| WA6 | anotherworld | 1895. Бифштексы на борту | 15 июл 2024 13:42 | 1 |
WA6 anotherworld 15 июл 2024 13:42 |
| Add test (2 admins) | Keworker `~ | 1927. Магия и садоводство | 15 июл 2024 12:12 | 1 |
I think this test should break some AC solutions: 443 -39 457 33 386 -773 561 127 Correct answer is -1, but I think some AC solutions can print 0 |
| AAAAAAAAAAAAAAAAAA | 👑TIMOFEY👑`~ | 1175. Странная последовательность | 15 июл 2024 08:23 | 1 |
read the tags before you decide, and think a few times before you start |
| WA5 and tests | anotherworld | 1267. Екатеринбургское метро | 13 июл 2024 20:05 | 1 |
wa5 - check how you calculate time when change direction at the station Test: 12 1 2 45 64 31 23 128 61 2 2 7 8 7 3 5 ans: 805 Test: 4 7 6 3 3 12 3 4 ans : 60 Good luck! |
| wa3 | 👑TIMOFEY👑`~ | 1317. Град | 12 июл 2024 16:59 | 1 |
wa3 👑TIMOFEY👑`~ 12 июл 2024 16:59 |
| Please, help WA5! | Auromagma | 1022. Генеалогическое дерево | 12 июл 2024 16:31 | 1 |
Here's my wrong solution, can sb view the code and help me? #include <iostream> #include <vector> #include <algorithm> using namespace std; vector<int> pos; vector<vector<int>> in; vector<vector<int>> out; vector<int> ans; void lets_go(int i) { for (int j = 0; j < in[i].size(); j++) { if (pos[in[i][j]] == 0) { lets_go(in[i][j]); } } pos[i] = 1; ans.push_back(i); for (int j = 0; j < out[i].size(); j++) { if (pos[out[i][j]] == 0) { lets_go(out[i][j]); } } } int main() { int n; cin >> n; in.resize(n); out.resize(n); pos.resize(n, 0); for (int i = 0; i < n; i++) { int a; cin >> a; while (a != 0) { if (a != 0) { in[a - 1].push_back(i); out[i].push_back(a - 1); cin >> a; } } } for (int i = 0; i < n; i++) { if (pos[i] == 0) { lets_go(i); } } for (int i = 0; i < n; i++) { cout << ans[i] + 1 << " "; } } |
| wa6 | 👑TIMOFEY👑`~ | 1903. Неопознанные корабли | 12 июл 2024 12:24 | 1 |
wa6 👑TIMOFEY👑`~ 12 июл 2024 12:24 |