因为痛,所以叫青春

我有一个梦想:穷屌丝变身富屌丝
uva10790 How Many Points of Intersection?

uva的题目真是奇怪,另外在查找排序的那个里面我还有一道题目,始终读不懂题意,郁闷.....

View Code
1 #include<stdio.h>
2 int main()
3 {
4     long long m, n, i = 1;
5     while(scanf("%lld%lld",&m,&n) && (m || n))
6         printf("Case %lld: %lld\n",i++,m*(m-1)*n*(n-1)/4);
7     return 0;
8 }

posted on 2012-07-22 20:09  Nice!  阅读(153)  评论(0编辑  收藏  举报