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 |
|---|---|---|---|---|---|---|
| ( 159 ) | F | Polynom | PROGRAMMING | *special implementation | 2000 |
You are given a polynom in form p ( x ) = ( x + a 1 )·( x + a 2 )·... ( x + a n ) . Write Pike program to print it in a standard form p ( x ) = x n + b 1 x n - 1 + ... + b n - 1 x + b n . You should write each addend in form « C*X^K » (for example, 5*X^8 ). Please, write the polynom in the shortest way, so you should skip unnecessary terms: some terms « C*X^K » should be reduced or even omitted. Look for the samples for clarification. The first line of the input contains n ( 1 ≤ n ≤ 9 ). The following n lines contain integer a i ( - 10 ≤ a i ≤ 10 ). Print the given polynom in a standard way. Note, that the answer in this problem response uniquely determined. |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 3669309 | Omelianenko | F | May 4, 2013, 1:30 p.m. | OK | Pike | TESTS | 20 | 109 | 102400 | 2000 | |
| 731918 | shinian | F | Sept. 30, 2011, 3:44 p.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 2000 | |
| 577058 | ty70 | F | Aug. 3, 2011, 4:02 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 2000 | |
| 575915 | alexander-nsk94 | F | Aug. 2, 2011, 9:41 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 2000 | |
| 572863 | praveenvaka | F | July 30, 2011, 9:36 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 2000 | |
| 572481 | S.Yesipenko | F | July 30, 2011, 8:46 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 2000 | |
| 572426 | amylase | F | July 30, 2011, 8:40 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 2000 | |
| 572189 | iscsi | F | July 30, 2011, 8:21 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 2000 | |
| 572101 | naihuangbao | F | July 30, 2011, 8:14 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 2000 | |
| 572047 | jonathanasdf | F | July 30, 2011, 8:09 a.m. | OK | Pike | TESTS | 20 | 110 | 6656000 | 2000 |
Back to search problems