原创 對象,類,友元,構造函數,析構函數

類和對象: 從面向對象程序設計理論的角度來說,類是對一類對象的抽象,而對象是類的具體實例;從程序設計語言的角度來說,類是一種複雜的自定義的構造數據類型,對象是屬於這種數據類型的變量。1)類是一個靜態的概念,類本身不攜帶任何數據。當沒有爲類

原创 Codeforce - 610 - B. Vika and Squares

B. Vika and Squares time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputs

原创 Codeforce - 675 - C. Money Transfers

C. Money Transfers time limit per test1 second memory limit per test256 megabytes inputstandard input outputsta

原创 Codeforce -269 - A. Magical Boxes

A. Magical Boxes time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstan

原创 Codeforce - 204B - Little Elephant and Cards

B. Little Elephant and Cards time limit per test2 seconds memory limit per test256 megabytes inputstandard input

原创 Codeforce - 267A - Subtractions

A. Subtractions time limit per test1 second memory limit per test256 megabytes inputstandard input outputstanda

原创 Codeforce - 262 - B. Roma and Changing Signs

B. Roma and Changing Signs time limit per test2 seconds memory limit per test256 megabytes inputstandard input

原创 Codeforces - 441C-Valera and Tubes

Codeforces - 441C-Valera and Tubes 原題鏈接:http://codeforces.com/problemset/problem/441/C C. Valera and Tubes time

原创 Codeforece - 630 - D. Hexagons!

D. Hexagons! time limit per test0.5 seconds memory limit per test64 megabytes inputstandard input outputstandar

原创 Codeforce - 366B - Dima and To-do List

B. Dima and To-do List time limit per test1 second memory limit per test256 megabytes inputstandard input outpu

原创 Codeforce - 573B - Bear and Blocks

B. Bear and Blocks time limit per test1 second memory limit per test256 megabytes inputstandard input outputsta

原创 Codeforce - 352B - Jeff and Periods

B. Jeff and Periods time limit per test1 second memory limit per test256 megabytes inputstandard input outputst

原创 Codeforce - 712 -C. Memory and De-Evolution

C. Memory and De-Evolution time limit per test2 seconds memory limit per test256 megabytes inputstandard input

原创 Codeforce - 402C - Searching for Graph

C. Searching for Graph time limit per test1 second memory limit per test256 megabytes inputstandard input outpu

原创 Codeforce - 731F - Video Cards

F. Video Cards time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandar