摘要:
OutletsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2584Accepted Submission(s): 1191Problem Des... 阅读全文
摘要:
#include#include#include#include#includeusing namespace std;const int L=1000005,inf=1<<30,maxn=1005;int prime[L];bool is[L];void getPrime(){ fill(i... 阅读全文
摘要:
最短路Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 43589Accepted Submission(s): 19174Problem Descr... 阅读全文
摘要:
六度分离Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6548Accepted Submission(s): 2648Problem Descri... 阅读全文
摘要:
A strange liftTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16414Accepted Submission(s): 6137Pro... 阅读全文
摘要:
ArbitrageTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5713Accepted Submission(s): 2645Problem D... 阅读全文
摘要:
畅通工程续Time Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 37539Accepted Submission(s): 13858Problem Des... 阅读全文
摘要:
(有米!)TreeTime Limit: 6000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2037Accepted Submission(s): 590Problem De... 阅读全文
摘要:
接口与Comparable 在JAVA中,接口并不是类,而是对类的一组需求的描述,如果类想实现某一特定功能,就可以实现某一接口。比如:如果需要用Arrays中的sort方法对对象数组进行排序,那对象所属的类必须实现Comparable接口。 接口中的方法自动属于public,接口中不能有... 阅读全文
摘要:
内部类结构class Outer{ private String name="outer"; public static void println(String str){ System.out.println(str); } class Inner { String name="inne... 阅读全文