Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.
ContestId |
Name |
Phase |
Frozen |
Duration (Seconds) |
Relative Time |
Start Time |
---|---|---|---|---|---|---|
336 | Codeforces Round 195 (Div. 2) | FINISHED | False | 7200 | 355760999 | Aug. 9, 2013, 3:30 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 10119 ) | A | Vasily the Bear and Triangle | PROGRAMMING | implementation math | 1100 |
B"Vasily the bear has a favorite rectangle, it has one vertex at point (0, xe2 x80 x890), and the opposite vertex at point (x, xe2 x80 x89y). Of course, the sides of Vasya's favorite rectangle are parallel to the coordinate axes. Vasya also loves triangles, if the triangles have one vertex at point B xe2 x80 x89= xe2 x80 x89(0, xe2 x80 x890). That's why today he asks you to find two points A xe2 x80 x89= xe2 x80 x89(x1, xe2 x80 x89y1) and C xe2 x80 x89= xe2 x80 x89(x2, xe2 x80 x89y2), such that the following conditions hold: Help the bear, find the required points. It is not so hard to proof that these points are unique. The first line contains two integers x, xe2 x80 x89y ( xe2 x80 x89- xe2 x80 x89109 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x, xe2 x80 x89y xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109, xe2 x80 x89x xe2 x80 x89 xe2 x89 xa0 xe2 x80 x890, xe2 x80 x89y xe2 x80 x89 xe2 x89 xa0 xe2 x80 x890). Print in the single line four integers x1, xe2 x80 x89y1, xe2 x80 x89x2, xe2 x80 x89y2 -- the coordinates of the required points. Figure to the first sample"... |
Tutorial Codeforces Round #195 (Div. 2) |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
4251247 | Jior | A | Aug. 9, 2013, 4:16 p.m. | OK | D | TESTS | 30 | 62 | 0 | 1100 | |
4250373 | AMendel | A | Aug. 9, 2013, 4:05 p.m. | OK | Delphi | TESTS | 30 | 30 | 0 | 1100 | |
4250014 | Artmem | A | Aug. 9, 2013, 4 p.m. | OK | Delphi | TESTS | 30 | 30 | 102400 | 1100 | |
4249470 | Kekc | A | Aug. 9, 2013, 3:53 p.m. | OK | Delphi | TESTS | 30 | 30 | 102400 | 1100 | |
4249356 | shady17 | A | Aug. 9, 2013, 3:52 p.m. | OK | Delphi | TESTS | 30 | 30 | 102400 | 1100 | |
4247957 | Al2K | A | Aug. 9, 2013, 3:39 p.m. | OK | Delphi | TESTS | 30 | 30 | 102400 | 1100 | |
4250624 | mr_justadog | A | Aug. 9, 2013, 4:08 p.m. | OK | Delphi | TESTS | 30 | 30 | 102400 | 1100 | |
4252437 | mad-at | A | Aug. 9, 2013, 4:32 p.m. | OK | Delphi | TESTS | 30 | 30 | 102400 | 1100 | |
4248365 | Casio | A | Aug. 9, 2013, 3:43 p.m. | OK | Delphi | TESTS | 30 | 62 | 0 | 1100 | |
4250616 | MagAragorn | A | Aug. 9, 2013, 4:08 p.m. | OK | Delphi | TESTS | 30 | 62 | 102400 | 1100 | |
4251435 | Yo-Pta | A | Aug. 9, 2013, 4:18 p.m. | OK | Delphi | TESTS | 30 | 62 | 102400 | 1100 | |
4254816 | denis_ | A | Aug. 9, 2013, 5:04 p.m. | OK | FPC | TESTS | 30 | 30 | 0 | 1100 | |
4253532 | vlad1112 | A | Aug. 9, 2013, 4:47 p.m. | OK | FPC | TESTS | 30 | 30 | 0 | 1100 | |
4252422 | Stratonov | A | Aug. 9, 2013, 4:32 p.m. | OK | FPC | TESTS | 30 | 30 | 0 | 1100 | |
4251669 | gamo | A | Aug. 9, 2013, 4:21 p.m. | OK | FPC | TESTS | 30 | 30 | 0 | 1100 | |
4251111 | chicken_coder | A | Aug. 9, 2013, 4:14 p.m. | OK | FPC | TESTS | 30 | 30 | 0 | 1100 | |
4250551 | Carfin | A | Aug. 9, 2013, 4:07 p.m. | OK | FPC | TESTS | 30 | 30 | 0 | 1100 | |
4250504 | odd2true | A | Aug. 9, 2013, 4:06 p.m. | OK | FPC | TESTS | 30 | 30 | 0 | 1100 | |
4250195 | pha96 | A | Aug. 9, 2013, 4:02 p.m. | OK | FPC | TESTS | 30 | 30 | 0 | 1100 | |
4249884 | ilgw19 | A | Aug. 9, 2013, 3:58 p.m. | OK | FPC | TESTS | 30 | 30 | 0 | 1100 | |
4249370 | ZOTAC89 | A | Aug. 9, 2013, 3:52 p.m. | OK | FPC | TESTS | 30 | 30 | 0 | 1100 | |
4251803 | noise123 | A | Aug. 9, 2013, 4:23 p.m. | OK | GNU C | TESTS | 30 | 30 | 0 | 1100 | |
4256455 | simone | A | Aug. 9, 2013, 5:26 p.m. | OK | GNU C | TESTS | 30 | 30 | 0 | 1100 | |
4255462 | raj_meena | A | Aug. 9, 2013, 5:13 p.m. | OK | GNU C | TESTS | 30 | 30 | 0 | 1100 | |
4253423 | ashish.k | A | Aug. 9, 2013, 4:45 p.m. | OK | GNU C | TESTS | 30 | 30 | 0 | 1100 | |
4252004 | socialgeek | A | Aug. 9, 2013, 4:26 p.m. | OK | GNU C | TESTS | 30 | 30 | 0 | 1100 | |
4251840 | jai0011 | A | Aug. 9, 2013, 4:24 p.m. | OK | GNU C | TESTS | 30 | 30 | 0 | 1100 | |
4251477 | h_m13 | A | Aug. 9, 2013, 4:19 p.m. | OK | GNU C | TESTS | 30 | 30 | 0 | 1100 | |
4251418 | petar.vukmirovic2 | A | Aug. 9, 2013, 4:18 p.m. | OK | GNU C | TESTS | 30 | 30 | 0 | 1100 | |
4251289 | ymCyin | A | Aug. 9, 2013, 4:16 p.m. | OK | GNU C | TESTS | 30 | 30 | 0 | 1100 | |
4251248 | kodeashu | A | Aug. 9, 2013, 4:16 p.m. | OK | GNU C | TESTS | 30 | 30 | 0 | 1100 | |
4250459 | TJUT_shadow | A | Aug. 9, 2013, 4:06 p.m. | OK | GNU C++ | TESTS | 30 | 0 | 0 | 1100 | |
4248541 | DanAlex | A | Aug. 9, 2013, 3:44 p.m. | OK | GNU C++ | TESTS | 30 | 0 | 0 | 1100 | |
4248511 | eddycael | A | Aug. 9, 2013, 3:44 p.m. | OK | GNU C++ | TESTS | 30 | 0 | 0 | 1100 | |
4247835 | thesilione | A | Aug. 9, 2013, 3:38 p.m. | OK | GNU C++ | TESTS | 30 | 0 | 0 | 1100 | |
4256865 | siyamalav | A | Aug. 9, 2013, 5:29 p.m. | OK | GNU C++ | TESTS | 30 | 30 | 0 | 1100 | |
4256160 | uc-nuts | A | Aug. 9, 2013, 5:23 p.m. | OK | GNU C++ | TESTS | 30 | 30 | 0 | 1100 | |
4256005 | D_style | A | Aug. 9, 2013, 5:21 p.m. | OK | GNU C++ | TESTS | 30 | 30 | 0 | 1100 | |
4255954 | alexandra86727 | A | Aug. 9, 2013, 5:20 p.m. | OK | GNU C++ | TESTS | 30 | 30 | 0 | 1100 | |
4255807 | abhinay123 | A | Aug. 9, 2013, 5:18 p.m. | OK | GNU C++ | TESTS | 30 | 30 | 0 | 1100 | |
4255758 | Zharaskhan | A | Aug. 9, 2013, 5:17 p.m. | OK | GNU C++ | TESTS | 30 | 30 | 0 | 1100 | |
4256478 | codermotor | A | Aug. 9, 2013, 5:26 p.m. | OK | GNU C++0x | TESTS | 30 | 30 | 0 | 1100 | |
4252950 | Prestige | A | Aug. 9, 2013, 4:39 p.m. | OK | GNU C++0x | TESTS | 30 | 30 | 0 | 1100 | |
4252325 | lxgsbqylbk | A | Aug. 9, 2013, 4:31 p.m. | OK | GNU C++0x | TESTS | 30 | 30 | 0 | 1100 | |
4251192 | superstar | A | Aug. 9, 2013, 4:15 p.m. | OK | GNU C++0x | TESTS | 30 | 30 | 0 | 1100 | |
4250532 | moka | A | Aug. 9, 2013, 4:07 p.m. | OK | GNU C++0x | TESTS | 30 | 30 | 0 | 1100 | |
4249967 | chrome | A | Aug. 9, 2013, 4 p.m. | OK | GNU C++0x | TESTS | 30 | 30 | 0 | 1100 | |
4249806 | Nastya_codit | A | Aug. 9, 2013, 3:58 p.m. | OK | GNU C++0x | TESTS | 30 | 30 | 0 | 1100 | |
4249723 | swimmer | A | Aug. 9, 2013, 3:57 p.m. | OK | GNU C++0x | TESTS | 30 | 30 | 0 | 1100 | |
4249579 | rasto93 | A | Aug. 9, 2013, 3:55 p.m. | OK | GNU C++0x | TESTS | 30 | 30 | 0 | 1100 | |
4249568 | dejo | A | Aug. 9, 2013, 3:55 p.m. | OK | GNU C++0x | TESTS | 30 | 30 | 0 | 1100 | |
4248947 | mipt.vi002 | A | Aug. 9, 2013, 3:48 p.m. | OK | Haskell | TESTS | 30 | 30 | 0 | 1100 | |
4254539 | ilovesky | A | Aug. 9, 2013, 5 p.m. | OK | Haskell | TESTS | 30 | 62 | 102400 | 1100 | |
4249351 | neeraj541 | A | Aug. 9, 2013, 3:52 p.m. | OK | Java 6 | TESTS | 30 | 156 | 0 | 1100 | |
4256210 | code_rishabh | A | Aug. 9, 2013, 5:23 p.m. | OK | Java 6 | TESTS | 30 | 156 | 0 | 1100 | |
4251977 | shubh_anshu | A | Aug. 9, 2013, 4:25 p.m. | OK | Java 6 | TESTS | 30 | 156 | 0 | 1100 | |
4250685 | Mostafa.Ali | A | Aug. 9, 2013, 4:08 p.m. | OK | Java 6 | TESTS | 30 | 156 | 0 | 1100 | |
4250472 | erikasv | A | Aug. 9, 2013, 4:06 p.m. | OK | Java 6 | TESTS | 30 | 156 | 0 | 1100 | |
4250434 | soo | A | Aug. 9, 2013, 4:05 p.m. | OK | Java 6 | TESTS | 30 | 156 | 0 | 1100 | |
4249631 | smkarwa | A | Aug. 9, 2013, 3:55 p.m. | OK | Java 6 | TESTS | 30 | 156 | 0 | 1100 | |
4249261 | A.Araghian | A | Aug. 9, 2013, 3:51 p.m. | OK | Java 6 | TESTS | 30 | 156 | 0 | 1100 | |
4249229 | afterlight | A | Aug. 9, 2013, 3:51 p.m. | OK | Java 6 | TESTS | 30 | 156 | 0 | 1100 | |
4249116 | luismo | A | Aug. 9, 2013, 3:50 p.m. | OK | Java 6 | TESTS | 30 | 156 | 0 | 1100 | |
4248325 | sousnake | A | Aug. 9, 2013, 3:42 p.m. | OK | Java 7 | TESTS | 30 | 124 | 0 | 1100 | |
4251159 | winie | A | Aug. 9, 2013, 4:15 p.m. | OK | Java 7 | TESTS | 30 | 156 | 0 | 1100 | |
4251003 | su_58 | A | Aug. 9, 2013, 4:13 p.m. | OK | Java 7 | TESTS | 30 | 156 | 0 | 1100 | |
4250937 | blazy2k9 | A | Aug. 9, 2013, 4:12 p.m. | OK | Java 7 | TESTS | 30 | 156 | 0 | 1100 | |
4250788 | snooze | A | Aug. 9, 2013, 4:10 p.m. | OK | Java 7 | TESTS | 30 | 156 | 0 | 1100 | |
4250724 | code2code | A | Aug. 9, 2013, 4:09 p.m. | OK | Java 7 | TESTS | 30 | 156 | 0 | 1100 | |
4249840 | ahmad.diaa | A | Aug. 9, 2013, 3:58 p.m. | OK | Java 7 | TESTS | 30 | 156 | 0 | 1100 | |
4249808 | Abdelrahman22 | A | Aug. 9, 2013, 3:58 p.m. | OK | Java 7 | TESTS | 30 | 156 | 0 | 1100 | |
4254700 | Arpitjaiz | A | Aug. 9, 2013, 5:02 p.m. | OK | Java 7 | TESTS | 30 | 156 | 0 | 1100 | |
4255059 | ssohn | A | Aug. 9, 2013, 5:07 p.m. | OK | Java 7 | TESTS | 30 | 156 | 0 | 1100 | |
4248856 | dj100500v | A | Aug. 9, 2013, 3:47 p.m. | OK | Mono C# | TESTS | 30 | 92 | 102400 | 1100 | |
4248540 | dwoolley3 | A | Aug. 9, 2013, 3:44 p.m. | OK | MS C# | TESTS | 30 | 62 | 0 | 1100 | |
4249628 | leecalabrese | A | Aug. 9, 2013, 3:55 p.m. | OK | MS C# | TESTS | 30 | 62 | 0 | 1100 | |
4252164 | danielostapenko | A | Aug. 9, 2013, 4:28 p.m. | OK | MS C# | TESTS | 30 | 62 | 102400 | 1100 | |
4249643 | Cornelius | A | Aug. 9, 2013, 3:56 p.m. | OK | MS C# | TESTS | 30 | 62 | 204800 | 1100 | |
4248881 | poma | A | Aug. 9, 2013, 3:47 p.m. | OK | MS C# | TESTS | 30 | 92 | 0 | 1100 | |
4248185 | marat.turaev | A | Aug. 9, 2013, 3:41 p.m. | OK | MS C# | TESTS | 30 | 92 | 0 | 1100 | |
4253928 | Kavir | A | Aug. 9, 2013, 4:52 p.m. | OK | MS C# | TESTS | 30 | 92 | 2150400 | 1100 | |
4248886 | kolobok | A | Aug. 9, 2013, 3:47 p.m. | OK | MS C# | TESTS | 30 | 92 | 2150400 | 1100 | |
4248375 | ds88 | A | Aug. 9, 2013, 3:43 p.m. | OK | MS C# | TESTS | 30 | 92 | 2150400 | 1100 | |
4253573 | ye_jun_nian | A | Aug. 9, 2013, 4:47 p.m. | OK | MS C++ | TESTS | 30 | 30 | 0 | 1100 | |
4255998 | lame | A | Aug. 9, 2013, 5:20 p.m. | OK | MS C++ | TESTS | 30 | 30 | 0 | 1100 | |
4255863 | Jay_Chou | A | Aug. 9, 2013, 5:18 p.m. | OK | MS C++ | TESTS | 30 | 30 | 0 | 1100 | |
4253290 | Alayes | A | Aug. 9, 2013, 4:43 p.m. | OK | MS C++ | TESTS | 30 | 30 | 0 | 1100 | |
4253177 | KarimAmer | A | Aug. 9, 2013, 4:42 p.m. | OK | MS C++ | TESTS | 30 | 30 | 0 | 1100 | |
4252956 | JackyWijaya | A | Aug. 9, 2013, 4:39 p.m. | OK | MS C++ | TESTS | 30 | 30 | 0 | 1100 | |
4252855 | Tparsa | A | Aug. 9, 2013, 4:38 p.m. | OK | MS C++ | TESTS | 30 | 30 | 0 | 1100 | |
4252563 | absi2011 | A | Aug. 9, 2013, 4:34 p.m. | OK | MS C++ | TESTS | 30 | 30 | 0 | 1100 | |
4252229 | ZaakDov | A | Aug. 9, 2013, 4:29 p.m. | OK | MS C++ | TESTS | 30 | 30 | 0 | 1100 | |
4251904 | Snoop5176 | A | Aug. 9, 2013, 4:24 p.m. | OK | MS C++ | TESTS | 30 | 30 | 0 | 1100 | |
4251118 | rsFalse | A | Aug. 9, 2013, 4:14 p.m. | OK | Perl | TESTS | 30 | 30 | 0 | 1100 | |
4248068 | MataMarrano | A | Aug. 9, 2013, 3:40 p.m. | OK | PHP | TESTS | 30 | 62 | 0 | 1100 | |
4250377 | ruzumaki | A | Aug. 9, 2013, 4:05 p.m. | OK | PHP | TESTS | 30 | 62 | 0 | 1100 | |
4248205 | HecticO | A | Aug. 9, 2013, 3:41 p.m. | OK | Python 2 | TESTS | 30 | 62 | 0 | 1100 | |
4250155 | igor.pisarev | A | Aug. 9, 2013, 4:02 p.m. | OK | Python 2 | TESTS | 30 | 92 | 0 | 1100 | |
4250047 | victsou | A | Aug. 9, 2013, 4:01 p.m. | OK | Python 2 | TESTS | 30 | 92 | 0 | 1100 | |
4249728 | mainri | A | Aug. 9, 2013, 3:57 p.m. | OK | Python 2 | TESTS | 30 | 92 | 0 | 1100 | |
4249180 | szalivako | A | Aug. 9, 2013, 3:50 p.m. | OK | Python 2 | TESTS | 30 | 92 | 0 | 1100 | |
4249109 | vector9x | A | Aug. 9, 2013, 3:49 p.m. | OK | Python 2 | TESTS | 30 | 92 | 0 | 1100 | |
4249108 | wur911 | A | Aug. 9, 2013, 3:49 p.m. | OK | Python 2 | TESTS | 30 | 92 | 0 | 1100 | |
4252204 | natau4 | A | Aug. 9, 2013, 4:29 p.m. | OK | Python 2 | TESTS | 30 | 92 | 0 | 1100 | |
4250812 | gastonbm | A | Aug. 9, 2013, 4:10 p.m. | OK | Python 2 | TESTS | 30 | 92 | 0 | 1100 | |
4250315 | pekei | A | Aug. 9, 2013, 4:04 p.m. | OK | Python 2 | TESTS | 30 | 92 | 0 | 1100 | |
4255495 | s012ik | A | Aug. 9, 2013, 5:13 p.m. | OK | Python 3 | TESTS | 30 | 124 | 0 | 1100 | |
4253023 | mtv_2002 | A | Aug. 9, 2013, 4:40 p.m. | OK | Python 3 | TESTS | 30 | 124 | 0 | 1100 | |
4252247 | majt | A | Aug. 9, 2013, 4:29 p.m. | OK | Python 3 | TESTS | 30 | 124 | 0 | 1100 | |
4251595 | korben | A | Aug. 9, 2013, 4:20 p.m. | OK | Python 3 | TESTS | 30 | 124 | 0 | 1100 | |
4251052 | dorasir | A | Aug. 9, 2013, 4:13 p.m. | OK | Python 3 | TESTS | 30 | 124 | 0 | 1100 | |
4249809 | siamezzze | A | Aug. 9, 2013, 3:58 p.m. | OK | Python 3 | TESTS | 30 | 124 | 0 | 1100 | |
4249288 | m1_k3 | A | Aug. 9, 2013, 3:52 p.m. | OK | Python 3 | TESTS | 30 | 124 | 0 | 1100 | |
4248766 | TsunamiNoLetGo | A | Aug. 9, 2013, 3:46 p.m. | OK | Python 3 | TESTS | 30 | 124 | 0 | 1100 | |
4248469 | dynil | A | Aug. 9, 2013, 3:44 p.m. | OK | Python 3 | TESTS | 30 | 124 | 0 | 1100 | |
4248407 | GnsP | A | Aug. 9, 2013, 3:43 p.m. | OK | Python 3 | TESTS | 30 | 124 | 0 | 1100 | |
4250245 | stas_sl | A | Aug. 9, 2013, 4:03 p.m. | OK | Ruby | TESTS | 30 | 92 | 0 | 1100 | |
4248124 | ruslan5t | A | Aug. 9, 2013, 3:41 p.m. | OK | Ruby | TESTS | 30 | 92 | 102400 | 1100 |
Back to search problems