由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - easy problem (合集) coconut
相关主题
Does perl support record/struct?Conconut! Help needed on su to root.
coconut 申请 unix BZhappy new year, one security related question (UNIX)
Have any codes that you want to share w/ us?UNIX Security Patch question. Coconut,help,,,,help...
[转载] Re: 一个简单的regular expression问题How to open/edit a huge text file
which one to mark?[转载] Byte Swap Needed?
coconut,关于directory grep的问题help for g77
Sorry coconut, I misunderstood you! I just removed my original post. Re: don't intentionally请教几个问题!!
呼唤 coconut[转载] 远程备份的问题
相关话题的讨论汇总
话题: coconut话题: easy话题: problem话题: pascal话题: 462
进入Unix版参与讨论
1 (共1页)
c*****t
发帖数: 1879
1
发信人: coconut (可可), 信区: Unix
标 题: easy problem
发信站: The unknown SPACE (Tue Jun 6 05:42:09 2000), 站内信件
Use perl/sh or whatever language of your choice to write
a program that is smaller than the following (476 bytes).
#!/bin/sh
cat << PASCAL
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 8 28 56 70 56 28 8 1
1 9 36 84 126 126 84 36 9 1
1 10 45 120 210 252 210 120 45 10 1
1 11 55 165 330 462 462 330 165 55 11 1
1 12 66 220 495 792 924 792 495 220 66 12 1
1 13 7
c*****t
发帖数: 1879
2
I put them under 精华区/Fun Problems/Pascal Table/
Hopefully, we can have more of this kind of problems :)
1 (共1页)
进入Unix版参与讨论
相关主题
[转载] 远程备份的问题which one to mark?
为什么linux可以正确读二进制文件unixbu不行?coconut,关于directory grep的问题
a question about cpioSorry coconut, I misunderstood you! I just removed my original post. Re: don't intentionally
奇怪的swap,一部分不见了呼唤 coconut
Does perl support record/struct?Conconut! Help needed on su to root.
coconut 申请 unix BZhappy new year, one security related question (UNIX)
Have any codes that you want to share w/ us?UNIX Security Patch question. Coconut,help,,,,help...
[转载] Re: 一个简单的regular expression问题How to open/edit a huge text file
相关话题的讨论汇总
话题: coconut话题: easy话题: problem话题: pascal话题: 462