![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
Allen_0526
一个菜的不能再菜的研究僧。。。
展开
-
Java实现大数操作
在ACM竞赛里难免会遇到一些大数(即超大数字!)的问题,这篇博客就简单讲一下用java来实现大数的相关操作。 关于eclipse的使用,这里也捎带一提。 配置了jdk并安装好eclipse之后(什么?怎么配置jdk?当然要点这里了!(ubuntu系统)) 进入到eclipse界面 第一步:file->new->java project->起名->finish 第二...原创 2018-07-24 20:35:52 · 396 阅读 · 0 评论 -
卡特兰数(JAVA大数)Buy the Ticket
Description The “Harry Potter and the Goblet of Fire” will be on show in the next few days. As a crazy fan of Harry Potter, you will go to the cinema and have the first sight, won’t you? Suppose the c...原创 2018-10-19 20:22:09 · 207 阅读 · 0 评论 -
JAVA--set用法
Set集合的特点: 不能存储相同的元素。 同时因为其是一个抽象的接口:所以不能直接实例化一个set对象。(Set s = new Set() )错误 该接口主要继承于Collections接口,所以具有Collection的一些常见的方法。 常见的方法: 1 add( ) 向集合中添加元素 2 clear( ) 去掉集合中所有的元素 3 contains( ) ...原创 2019-03-28 20:57:56 · 399 阅读 · 0 评论