随笔分类 -  Codeforces

摘要:http://codeforces.com/contest/236/problem/C 觉得这题挺有意思,贴一下代码。if(a<=0)or(b<=0)or(c<=0)then continue;这句一开始没写,WA了。注意多个数的LCM求法。 Codeprogram LCMchallenge;uses math;var i,j,k:longint; n,a,b,c,ans,temp:int... 阅读全文
posted @ 2012-10-23 16:58 ljlin 阅读(238) 评论(0) 推荐(0)