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 |
|---|---|---|---|---|---|---|
| 100 | Unknown Language Round 3 | FINISHED | False | 10800 | 464400023 | July 30, 2011, 6 a.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 580 ) | B | Friendly Numbers | PROGRAMMING | *special implementation | 1600 |
Kiana thinks two integers are friends if and only if one of them divides the other one. For example, 12 and 4 are friends, also 6 and 6 are friends too, but 120 and 36 are not. A group of non-zero integers is called friendly, if each pair of its integers form a friend pair. You are given a group of non-zero integers. See if they're friendly. The first line contains n ( 1 ≤ n ≤ 1000 ), where n — the number of integers in the group. The next line contains the elements, sorted in the non-decreasing order. The numbers are comma separated, they have at most 7 digits in their decimal notation and do not have any leading zeros. If the group is friendly write " FRIENDS ", else write " NOT FRIENDS ". |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 575934 | serg2000 | B | Aug. 2, 2011, 10:17 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 1600 | |
| 572809 | vectoroc | B | July 30, 2011, 9:21 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 1600 | |
| 571675 | Sergey.Bankevich | B | July 30, 2011, 7:41 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 1600 | |
| 571671 | naagi | B | July 30, 2011, 7:41 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 1600 | |
| 3765463 | tmt514 | B | May 24, 2013, 2:15 p.m. | OK | Pike | TESTS | 20 | 125 | 102400 | 1600 | |
| 1074493 | random.johnnyh | B | Jan. 17, 2012, 11:01 p.m. | OK | Pike | TESTS | 20 | 130 | 6656000 | 1600 | |
| 731897 | shinian | B | Sept. 30, 2011, 3:32 p.m. | OK | Pike | TESTS | 20 | 130 | 6656000 | 1600 | |
| 711437 | Archon.JK | B | Sept. 22, 2011, 4:03 a.m. | OK | Pike | TESTS | 20 | 130 | 6656000 | 1600 | |
| 575942 | serg2000 | B | Aug. 2, 2011, 10:30 a.m. | OK | Pike | TESTS | 20 | 130 | 6656000 | 1600 | |
| 572933 | swgr | B | July 30, 2011, 10:59 a.m. | OK | Pike | TESTS | 20 | 130 | 6656000 | 1600 |
Back to search problems