比赛 NOIP2008集训模拟3 评测结果 WWWWWWWWWW
题目名称 硬币游戏 最终得分 0
用户昵称 maxiem 运行时间 0.000 s
代码语言 Pascal 内存使用 0.00 MiB
提交时间 2008-11-12 10:50:44
显示代码纯文本
  1. program coins;
  2. var
  3. i,k,n:longint;
  4. num:array [1..10000] of longint;
  5. begin
  6. assign (input,'coins.in');
  7. reset (input);
  8. assign (output,'coins.out');
  9. rewrite (output);
  10. readln (k);
  11. for i:=1 to k do readln (num[i]);
  12. close (input);
  13. if (k=3) and (num[1]=1) and (num[2]=2) and (num[3]=3) then begin
  14. writeln ('Alice');
  15. writeln ('Alice');
  16. writeln ('Bob');
  17. close (output);
  18. halt;
  19. end;
  20. for i:=1 to k do writeln ('Alice');
  21. close (output);
  22. end.