Polynomial interpolation
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Polynomial sequence and interpolation (n<=4)
--nfouille
Options
exec is denied
now post-mortem time, all source codes will be revealed
Sample input:_
1
0 1
0.5 0.5
0 0.25 0.5 0.25
1 1
1 2 3
-1 2 -3 4
Sample output:
1 2 3 4 5 6 7 8 9
1 4 9 16 25 36 49 64 81
1 3 6 10 15 21 28 36 45
1 9 36 100 225 441 784 1296 2025
2 6 12 20 30 42 56 72 90
6 34 102 228 430 726 1134 1672 2358
2 46 258 860 2170 4602 8666 14968 24210
Sample input:_
1 2 3 4 5 6 7 8 9
1 4 9 16 25 36 49 64 81
1 3 6 10 15 21 28 36 45
1 9 36 100 225 441 784 1296 2025
2 6 12 20 30 42 56 72 90
6 34 102 228 430 726 1134 1672 2358
2 46 258 860 2170 4602 8666 14968 24210
Sample output:
1
0 1
0.5 0.5
0 0.25 0.5 0.25
1 1
1 2 3
-1 2 -3 4
Sample input:_
1 1 2
6 30 84 180 330 546 840 1224 1710
0 0 1
3 16 45 96 175 288 441 640 891
Sample output:
4 22 66 148 280 474 742 1096 1548
1 3 2
1 8 27 64 125 216 343 512 729
0 2 1
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | nn | 299 | 1.0436 | 2012/06/14 00:05:57 | 0B / 148B / 145B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | _ | 77 | 0.5780 | 2012/06/13 20:28:41 | 0B / 23B / 51B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kou | 359 | 0.0324 | 2012/06/12 15:00:41 | 1B / 174B / 179B |
2 | smkt (embed) | 416 | 0.0380 | 2012/06/11 14:09:58 | 0B / 274B / 55B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | I., S. | 224 | 0.0409 | 2012/06/13 21:28:02 | 0B / 95B / 122B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | J | | 77 | 10000 |
2 | Perl | nfouille | 156 | 4935 |
3 | Zsh | nfouille | 160 | 4812 |
4 | AWK | I., S. | 224 | 3437 |
5 | JavaScript | nn | 299 | 2575 |
6 | Bash | nfouille | 328 | 2347 |
7 | C | kou | 359 | 2144 |
8 | Java | nfouille | 441 | 1746 |
return to the top page