Uva 10790 - How Many Points of Intersection?
来源:互联网 发布:java字符串单词反转 编辑:程序博客网 时间:2024/05/06 18:41
水题一只
上面取2个点,下面取两个点就一定有一个交点
Cn2即好
试验了一下
Uva接受lld
不认I64d
#include<stdio.h>#define LL long longLL C2(LL x){return x*(x-1)/2;}int main(){LL a,b;int t=0;while(scanf("%lld%lld",&a,&b)!=EOF){if(a==0&&b==0)break;printf("Case %d: ",++t);printf("%lld\n",C2(a)*C2(b));}return 0;}
- UVa 10790 How Many Points of Intersection?
- uva 10790 How Many Points of Intersection?
- uva 10790 - How Many Points of Intersection?
- uva-10790-How Many Points of Intersection?
- UVa 10790 - How Many Points of Intersection?
- Uva 10790 - How Many Points of Intersection?
- UVa 10790 - How Many Points of Intersection?
- UVA 10790 How Many Points of Intersection?
- uva 10790 - How Many Points of Intersection
- uva 10790 How Many Points of Intersection?
- UVa 10790 How Many Points of Intersection?
- uva - 10790 - How Many Points of Intersection?
- UVa 10790 - How Many Points of Intersection?
- UVa 10790 - How Many Points of Intersection?
- Uva 10790 How Many Points of Intersection?
- UVA - 10790 How Many Points of Intersection?
- UVA - 10790 How Many Points of Intersection?
- uva 10790 How Many Points of Intersection?
- debug调试
- 新单位工作半个月要离职 一个老总对我说的
- IP地址,子网掩码,默认网关
- serlvet 基本代码
- 关于解决打开CHM文件无法显示的问题
- Uva 10790 - How Many Points of Intersection?
- 关于mysql_query导致连接断开的问题
- ZOJ 1002 回溯
- HDU1128:Self Numbers
- 优化数据库的方法及SQL语句优化的原则
- CCArray记要 释放精灵两方面
- nyoj 喷水装置(二)
- asp.net_C#中生成二维码练习
- ORACLE行专列转换