summaryrefslogtreecommitdiffstats
path: root/hw2/big_judge.c
diff options
context:
space:
mode:
authorLAN-TW <lantw44@gmail.com>2013-11-13 01:21:11 +0800
committerLAN-TW <lantw44@gmail.com>2013-11-13 01:22:18 +0800
commit15d0398e07b2a2d25bd5aeae1be2fb30d9a9665b (patch)
tree36b587a3b27cfefb967229a7dee26432c2007e30 /hw2/big_judge.c
parent2846470b91d6f76f93e2b0e674fbd310470dec1b (diff)
downloadsp2013-15d0398e07b2a2d25bd5aeae1be2fb30d9a9665b.tar
sp2013-15d0398e07b2a2d25bd5aeae1be2fb30d9a9665b.tar.gz
sp2013-15d0398e07b2a2d25bd5aeae1be2fb30d9a9665b.tar.bz2
sp2013-15d0398e07b2a2d25bd5aeae1be2fb30d9a9665b.tar.lz
sp2013-15d0398e07b2a2d25bd5aeae1be2fb30d9a9665b.tar.xz
sp2013-15d0398e07b2a2d25bd5aeae1be2fb30d9a9665b.tar.zst
sp2013-15d0398e07b2a2d25bd5aeae1be2fb30d9a9665b.zip
HW2: judge 現在可以建立與刪除 FIFO 檔案了
Diffstat (limited to 'hw2/big_judge.c')
-rw-r--r--hw2/big_judge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw2/big_judge.c b/hw2/big_judge.c
index 507f2b8..c7103f0 100644
--- a/hw2/big_judge.c
+++ b/hw2/big_judge.c
@@ -39,7 +39,7 @@ bool comb4 (Comp135* comp, int players[], long player_num) {
}
int main (int argc, char* argv[]) {
- if (argc < 2) {
+ if (argc < 3) {
fprintf (stderr, "Usage: %s judge_num player_num\n", argv[0]);
return 1;
}