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 }
原文地址:https://www.cnblogs.com/SDUTYST/p/2603967.html