原创 CodeForces-116A-Tram

A. Tram time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standar

原创 CodeForces-131A-cAPS lOCK

A. cAPS lOCK time limit per test 2 seconds memory limit per test 256 megabytes input standard input outp

原创 C++與Java變量聲明與賦值的區別

C++中的變量區分聲明與定義, 聲明僅僅告訴編譯器某個類型的 變量會被使用,而定義纔會爲變 量分配內存。 int i=10;(定義) extern

原创 CodeForces-50A-Domino piling

A. Domino piling time limit per test 2 seconds memory limit per test 256 megabytes input standard input

原创 CodeForces-263A-Beautiful Matrix

A. Beautiful Matrix time limit per test 2 seconds memory limit per test 256 megabytes input standard input

原创 CodeForces-282A-Bit++

A. Bit++ time limit per test 1 second memory limit per test 256 megabytes input standard input output standar

原创 windows下編譯postgresql數據庫

windows下編譯postgresql數據庫 1、CMD命令基礎("cd/"=>地址回退,"cd連續或者不連續地址"=>找到所需目錄) 2、環境變

原创 Java多態性的理解

先寫一些,有時間補充完整 首先要理解幾個概念:1、對象與對象變量。      舉個一般書中常見的栗子:比如要構造一個Date類的對象,語法爲new

原创 CodeForces-231A

A. Team time limit per test 2 seconds memory limit per test 256 megabytes input standard input output

原创 java system.out.printf()的使用方法

package test;         public class Main   {       public static void main(String[] args)       {           // 定義

原创 Java中Scanner的nextInt(),next(),nextLine()方法總結

今天在java上機課時遇到了個小問題,使用Scanner輸入數據時,使用了一次nextInt(),一次nextLine(),卻只接收了一個整數。代碼如下 code1:        1 package cn.dx; 2

原创 CodeForces-118B-PresentFromLena

B. Present from Lena time limit per test 2 seconds memory limit per test 256 megabytes input standard inpu

原创 CodeForces-58A-Chat room

A. Chat room time limit per test 2 seconds memory limit per test 256 megabytes input standard input outp

原创 CodeForces-339B-Xenia and Ringroad

B. Xenia and Ringroad time limit per test 2 seconds memory limit per test 256 megabytes input standard inp

原创 CodeForces-136A-Presents

A. Presents time limit per test 2 seconds memory limit per test 256 megabytes input standard input outpu