24h購物
|
|
PChome
|
登入
首頁
哈燒文章
最新文章
好台推薦
我的新聞台
通知
新聞台搜尋
約有
291
筆搜尋結果
排序依據:
人氣
|
回應數
|
更新時間
|
發表時間▼
階乘程式
題目:將輸入的數做階乘,輸出結果。 蝦米解: #include int main()...
(詳全文)
更新時間 :2007-10-10
人氣:89 │ 回應:0 |
小蝦米
[UVA] 12643 - Tennis Rounds
SampleInput3 2 53 5 72 1 22 2 1SampleOutput3211找兩個節點的最小共同祖先,計算第幾回合會對戰到
更新時間 :2013-12-05 │ 人氣:706 │ 回應:0 |
Morris
[UVA][stack] 12582 - Wedding
題目意思:給定一個圖的走訪方式(dfs),問每個節點的 degree。解法:既然原本 dfs 是用 stack 去寫,那麼還原也是 stac
更新時間 :2012-12-26 │ 人氣:589 │ 回應:0 |
Morris
[UVA] 12583 - Memory Overflo
題目意思:這個人只能記住前 k 天的人,而他每天只會遇到一個人,如果不認識的話,他會把他記住,但是在 k 天後遺忘,如果再次遇到的話,就在延
更新時間 :2012-12-26 │ 人氣:383 │ 回應:0 |
Morris
[ITSA] 19th 總解答
這次沒有動規題,全是模擬題,雖然沒有很難,但打得很不順。一個人參賽無助了?打表不多語你自己想你自己做過位元運算的二十皇后,再怎麼跑都是鄰近一
更新時間 :2012-11-29 │ 人氣:4793 │ 回應:0 |
Morris
[ITSA] 17th 總解答
第一題 模擬#include <stdio.h>int main() { int n;&nb
更新時間 :2012-09-26 │ 人氣:3187 │ 回應:0 |
Morris
[ACM-ICPC][Asia - Daejeon] 5
數學解, 採用排容原理對每個點, 都可以挑 2 個邊做一個角, 因此 C(n-1, 2) * n 個角,對每個點, 不可能構成的角個數是 r
更新時間 :2012-09-01 │ 人氣:342 │ 回應:1 |
Morris
[ACM-ICPC][Asia - Daejeon] 5
窮舉兩個, 令一個直接 Greedy#include <stdio.h>int main() { &nbs
更新時間 :2012-09-01 │ 人氣:333 │ 回應:0 |
Morris
[PTC] 201208C RFC 1149
做一次背包, 替除, 再做一次, 持續 ...做法不保證正確, 但可通過測資#include <stdio.h>#include
更新時間 :2012-09-16 │ 人氣:35 │ 回應:0 |
Morris
[ITSA] 16th 總解答
這次題目比較麻煩是輸入問題, 剩下的其實都還好, 解答就按照題目順序#include <stdio.h>#include <
更新時間 :2012-08-30 │ 人氣:2139 │ 回應:0 |
Morris
[UVA][V2] 11002 - Towards Ze
//C++ 1.312#include <stdio.h>#include <stdlib.h>#include &
更新時間 :2012-04-20 │ 人氣:220 │ 回應:0 |
Morris
第九次ITSA線上程式設計大賽競賽題目
注意事項一、本比賽系統採用PC2,所使用的 I/O 是標準輸出輸入裝置,所以可以使用C語言的scanf ( ) printf ( ) ,或是
更新時間 :2011-10-27 │ 人氣:3284 │ 回應:0 |
Morris
優化輸入的函式
用法:將這些程式碼貼上去你的code再指定m=Input();即可m是你想(型態自行修改)使用注意:1.請別放在最外層的輸入(如果要一直輸
更新時間 :2011-08-05 │ 人氣:1309 │ 回應:3 |
Morris
讓我有些灰心的助教人生
時間過得很快又到了一週三小時的助教時間因為上禮拜小大一被找去做測驗所以今天我又不用上台解釋題目的做法上週的作業很順勢的變成今天要完成了今天的
更新時間 :2010-11-20 │ 人氣:112 │ 回應:1 |
YiTing
奇摩知識+ 輸一個十進位的數,將其以二進位輸出
#include<stdio.h>#include<stdlib.h>void Change(int N){&nbs
更新時間 :2010-01-06 │ 人氣:7719 │ 回應:0 |
來源不明
奇摩知識+ C語言字串反轉 大小寫互換
#include<stdio.h>#include<stdlib.h>#include<string.h>
更新時間 :2009-12-30 │ 人氣:18461 │ 回應:0 |
來源不明
d611. Volume
這題基本上就是要算:分別以各個點為原點時每個點到原點距離的總合ps 總合要用 long long int 存#include <std
更新時間 :2009-12-27 │ 人氣:0 │ 回應:0 |
學姊.cpp
d607: Here is Your Ride
這題把 'A' 定義為 1,'Z' 定義為 26每組測資兩個字串字串中每個字母相乘如果兩個字串相成後的結果再取 47 的餘數是相同的話則輸出
更新時間 :2009-12-27 │ 人氣:0 │ 回應:0 |
學姊.cpp
d132. Q340: Master-Mind Hint
#include <stdio.h>int main() { int i, n, m, le
更新時間 :2009-12-25 │ 人氣:0 │ 回應:0 |
學姊.cpp
d426. KILL ME (KM)
因為最後一定是 2 ( 質數的因數只有 1 跟 自己 )所以跑到 n <= 2 的時候要停下面 for 迴圈結束後的 if 是要判斷完
更新時間 :2009-12-24 │ 人氣:0 │ 回應:0 |
學姊.cpp
d594. G. 總共需要多少錢
把兩數加起來乘 2 OS: 今年國中題目怎麼這麼多送分題?#include <stdio.h>int main() { 
更新時間 :2009-12-22 │ 人氣:0 │ 回應:0 |
學姊.cpp
d590. C. 一定中大樂透
把兩數加起來判斷除以 2 的餘數#include <stdio.h>int main() {  
更新時間 :2009-12-22 │ 人氣:0 │ 回應:0 |
學姊.cpp
d588. A. 樹上的松鼠
題目說樹枝都會適當的連接在一起所以只要找到最高點即可#include <stdio.h>int main() { &n
更新時間 :2009-12-21 │ 人氣:0 │ 回應:0 |
學姊.cpp
d593. F. 生命靈數
#include <stdio.h>int main() { int k, n, num,
更新時間 :2009-12-21 │ 人氣:0 │ 回應:0 |
學姊.cpp
c129. Oil Deposits
沒想到斜的也算同一個油井 (上 下 左 右 右上 右下 左上 左下)接下來要朝 BFS 邁進啦#include <stdio.h>
更新時間 :2009-12-21 │ 人氣:0 │ 回應:0 |
學姊.cpp
d224. 11296 - Counting Solut
第一段程式碼就是我看到此題的第一個想法 (大家應該都是)很直接的三層迴圈求三個未知數不過很遺憾的 TLE 了#include <std
更新時間 :2009-12-20 │ 人氣:0 │ 回應:0 |
學姊.cpp
d128. 三、速算游戏
這題應該是屬於動態規劃的題目吧不過由於狀況不多我就手動啦 #include <stdio.h>int main() {&nbs
更新時間 :2009-12-19 │ 人氣:0 │ 回應:0 |
學姊.cpp
d579. 兩條線
其實兩條線就是 絕對值我的 abs() 函數就是在做變號的動作只是不知道 float 跟 double 差在哪 ?#include <
更新時間 :2009-12-18 │ 人氣:0 │ 回應:0 |
學姊.cpp
d140. On Sale
scanf() 的這招還蠻威的 ( 以小數點做間隔符號 )找到一個不錯的 輸入輸出簡報 跟大家分享#include <stdio.h&
更新時間 :2009-12-17 │ 人氣:0 │ 回應:0 |
學姊.cpp
d573. CRC騎士團
加優化輸入之後快了 60ms而且有重回用 JAVA 的感覺蠻爽的#include <stdio.h>int input();in
更新時間 :2009-12-13 │ 人氣:0 │ 回應:0 |
學姊.cpp
c001. 最長共同字串
想法是從 DJWS 大大的網誌那裡 A 來的不過要看懂還是花了我一些時間阿 ...#include <stdio.h>int m
更新時間 :2009-12-10 │ 人氣:0 │ 回應:0 |
學姊.cpp
d569. 強化版磁力蜈蚣
全部用 putchar 輸出#include <stdio.h>int main() { i
更新時間 :2009-12-08 │ 人氣:0 │ 回應:0 |
學姊.cpp
b131. NOIP2006 2.开心的金明
背包問題#include <stdio.h>int main() { int i, j, b
更新時間 :2009-12-07 │ 人氣:0 │ 回應:0 |
學姊.cpp
d561. 被秒殺的四捨五入
反正數字小直接硬算吧找出小數點位置還有唯一的特例是 -0.00 應該輸出為 0.00#include <stdio.h>#def
更新時間 :2009-12-07 │ 人氣:0 │ 回應:0 |
學姊.cpp
山寨版磁力蜈蚣
這題不難 模擬即可 但是並不是 真的要交換只要正著印 跟 反著印就好不過此題輸出有點大 導致輸
更新時間 :2009-12-07 │ 人氣:1257 │ 回應:0 |
來源不明
矩形中的幾何
直覺告訴我這個答案其證明 再說/************************************************
更新時間 :2009-12-07 │ 人氣:1043 │ 回應:0 |
來源不明
整數編號輸出
作法 : 跳逸字元 要特殊處理要輸出" 則要打\"要輸出% 則要打%%/*****************************
更新時間 :2009-12-07 │ 人氣:1053 │ 回應:0 |
來源不明
被秒殺的四捨五入
作法 : 手動字串分析/**********************************************************
更新時間 :2009-12-07 │ 人氣:3330 │ 回應:2 |
來源不明
班號
作法 : 跳逸字元要做特殊的處理要輸出% 要打%%要輸出" 要打\"/***********************************
更新時間 :2009-12-07 │ 人氣:558 │ 回應:0 |
來源不明
d356. NOIP2002 1.级数求和
這題好像是高一上的數學忘光了...#include <stdio.h>int main() { &nbs
更新時間 :2009-12-06 │ 人氣:0 │ 回應:0 |
學姊.cpp
c094. Blowing Fuses
#include <stdio.h>int input();int main() { int
更新時間 :2009-12-06 │ 人氣:0 │ 回應:0 |
學姊.cpp
d549. 矩形中的几何
上圖的所求根號中有個小筆誤XD應該是 減 c 平方 而不是 加 c 平方哦真是不好意思 #include <stdio.h>#
更新時間 :2009-12-08 │ 人氣:0 │ 回應:0 |
學姊.cpp
d547. 4. 秘密(secrets)
#include <stdio.h>int abs(int);int compare(int[], int[], int);in
更新時間 :2009-12-06 │ 人氣:0 │ 回應:0 |
學姊.cpp
d545. 2. 抽紙牌(poker)
#include <stdio.h>int main() { int i, j, n, m,
更新時間 :2009-12-06 │ 人氣:0 │ 回應:0 |
學姊.cpp
b139. NOIP2005 2.校门外的树
#include <stdio.h>int input();int main() { int
更新時間 :2009-12-06 │ 人氣:0 │ 回應:0 |
學姊.cpp
d564. 整數編號輸出
多做一個 else這樣才是完整的邏輯#include <stdio.h>#include <string.h>int
更新時間 :2009-12-07 │ 人氣:0 │ 回應:0 |
學姊.cpp
c085. Pseudo-Random Numbers
#include <stdio.h>int main() { int k, z, i, m,
更新時間 :2009-12-06 │ 人氣:0 │ 回應:0 |
學姊.cpp
d562. 山寨版磁力蜈蚣
測資很小加優化沒差不過似乎有方法可以更快應該是不交換吧#include <stdio.h>int main() { &
更新時間 :2009-12-06 │ 人氣:0 │ 回應:0 |
學姊.cpp
d559. 班號
還是 跳脫字元...剛剛要複製程式碼的時候竟然跟我說:偷看別人程式碼是不法的行為我是別人嗎?#include <stdio.h>
更新時間 :2009-12-06 │ 人氣:0 │ 回應:0 |
學姊.cpp
b004. 繩子上吃草的牛
常常寫程式可以順便學數學這題學到 反三角函數 跟 橢圓面積#include <stdio.h>#include <math
更新時間 :2009-12-07 │ 人氣:0 │ 回應:0 |
學姊.cpp
b031. F. 費波那星
斐波那契進制可以參閱 NPSC 補完計畫 或者 中國大陸的討論區大陸那邊的資源似乎比台灣多...#include <stdio.h&g
更新時間 :2009-12-06 │ 人氣:0 │ 回應:0 |
學姊.cpp
d281. 10499 - The Land of Ju
#include <stdio.h>int main() { long long int n
更新時間 :2009-12-06 │ 人氣:0 │ 回應:0 |
學姊.cpp
a+b??
作法 : 大數浮點數加法之前寫的太雜亂 且效率不好 在此做修正/**************************
更新時間 :2009-12-06 │ 人氣:373 │ 回應:0 |
來源不明
d471. 0 與 1 的遊戲
不知道如何更快呢#include <stdio.h> #include <mat
更新時間 :2009-12-01 │ 人氣:0 │ 回應:0 |
學姊.cpp
d461. 班際籃球賽
#include <stdio.h> int main()&n
更新時間 :2009-12-01 │ 人氣:0 │ 回應:0 |
學姊.cpp
d376. 良心何在
#include <stdio.h> int sum(int,
更新時間 :2009-12-01 │ 人氣:0 │ 回應:0 |
學姊.cpp
d070. 文文的求婚--續集 (0 尾版)
#include <stdio.h>int main() {
更新時間 :2009-11-29 │ 人氣:0 │ 回應:0 |
學姊.cpp
d065. 三人行必有我師
#include <stdio.h> int main()&n
更新時間 :2009-11-29 │ 人氣:0 │ 回應:0 |
學姊.cpp
d064. ㄑㄧˊ 數?
#include <stdio.h> int main() { 
更新時間 :2009-11-29 │ 人氣:0 │ 回應:0 |
學姊.cpp
d051. 糟糕,我發燒了!
#include <stdio.h>int main() {  
更新時間 :2009-11-29 │ 人氣:0 │ 回應:0 |
學姊.cpp
a043. 平面切割
公式解為 (n*n+n+2)/2#include <stdio.h>
更新時間 :2009-11-26 │ 人氣:0 │ 回應:0 |
學姊.cpp
a042. 平面圓形切割
公式解為 n*(n-1)+2#include <stdio.h> int main(
更新時間 :2009-11-26 │ 人氣:0 │ 回應:0 |
學姊.cpp
a038. 數字翻轉
#include <stdio.h> int main()&n
更新時間 :2009-11-25 │ 人氣:0 │ 回應:0 |
學姊.cpp
a024. 最大公因數(GCD)
#include <stdio.h> #include <stdlib.h>
更新時間 :2009-11-25 │ 人氣:21 │ 回應:0 |
學姊.cpp
a015. 矩陣的翻轉
#include <stdio.h> int ma
更新時間 :2009-11-25 │ 人氣:0 │ 回應:0 |
學姊.cpp
a012. Hashmat的戰役
其實我發現有些東西再寫一遍難度還頗高耶 像這題跟判斷質數(a007) 寫完感覺又有新收穫呢#include&
更新時間 :2009-11-25 │ 人氣:0 │ 回應:0 |
學姊.cpp
a006. 一元二次方程式
先算判別式,再判斷接著輸出#include <stdio.h> #include &
更新時間 :2009-11-25 │ 人氣:0 │ 回應:0 |
學姊.cpp
a005. Eva 的回家作業
現在回頭看覺得寫的好濫#include <stdio.h> int&n
更新時間 :2009-11-25 │ 人氣:0 │ 回應:0 |
學姊.cpp
a004. 文文的求婚
C 版#include <stdio.h> int main()&nbs
更新時間 :2009-11-25 │ 人氣:0 │ 回應:0 |
學姊.cpp
a003. 兩光法師占卜術
C 版#include <stdio.h> int main
更新時間 :2009-11-25 │ 人氣:0 │ 回應:0 |
學姊.cpp
a002. 簡易加法
C 版#include <stdio.h> int 
更新時間 :2009-11-25 │ 人氣:0 │ 回應:0 |
學姊.cpp
a001. 哈囉
最基本的輸出#include <stdio.h> int main()&n
更新時間 :2009-11-25 │ 人氣:0 │ 回應:0 |
學姊.cpp
ACM 11495 11495 - Bubbles an
作法 : 合併排序應該有辦法DP 先暫時這樣吧/****************************************
更新時間 :2009-11-20 │ 人氣:1120 │ 回應:0 |
來源不明
複數比大小
作法 : 數學更新時間 11/25/**********************************************
更新時間 :2009-11-25 │ 人氣:1032 │ 回應:0 |
來源不明
ACM 10324 Q10324: Zeros and
作法 : DP要小心範圍超過陣列的部份 以及 特殊數據EX0111 0/****************************
更新時間 :2009-11-17 │ 人氣:1165 │ 回應:0 |
來源不明
ACM 10165 10165 Stone Game
作法 : 數學網路上 應該可以搜到簡報來看在此就不多做說明了/**************************************
更新時間 :2009-11-17 │ 人氣:986 │ 回應:0 |
來源不明
文文的求婚 (三)
※ 請不要看到我作法就修改測資!!※ 我懶了 直接++/*****************************************
更新時間 :2009-11-14 │ 人氣:439 │ 回應:0 |
來源不明
台北縣98資訊學科能力競賽 第一題:戰艦謎題
半夜打的,為求睡覺 隨便打一打不做修改了 - -+ 累/************************
更新時間 :2009-11-14 │ 人氣:960 │ 回應:0 |
來源不明
95高市資訊學科能力競賽 K-間隔 (K-GAP) 子字
作法:模擬當初看不懂題目 所以一直沒寫 XD/**********************************************
更新時間 :2009-11-14 │ 人氣:682 │ 回應:0 |
來源不明
95高市資訊學科能力競賽 運算式 + - 符號設定問題
在此先感謝 andy3466 提供想法作法:數學±1±2....±n=k我們可以這樣想少一個數字m,sum將會減少2*m若k-su
更新時間 :2009-11-14 │ 人氣:652 │ 回應:0 |
來源不明
NOIP 2008 提高组 NOIP 2008 3.傳紙
作法 : DP有更好的3維作法 請大家自行搜尋/****************************************
更新時間 :2009-11-10 │ 人氣:665 │ 回應:0 |
來源不明
1.擾亂專家
作法:分析字串/**********************************************************/#in
更新時間 :2009-11-10 │ 人氣:237 │ 回應:0 |
來源不明
gets() 與 scanf("%s")
這兩個雖然都是讀取字串,但是scanf不能讀取含有空格的字串,也就是說會把空格與空格或與換行之間當做一個字串而gets()連換行都可以當作是
更新時間 :2009-11-08 │ 人氣:31354 │ 回應:2 |
來源不明
矩陣乘法
其實我也不太懂矩陣乘法不過就模擬吧=]矩陣似乎沒有交換律/*****************************************
更新時間 :2009-11-06 │ 人氣:1724 │ 回應:0 |
來源不明
伏林的三角地
作法 : 海龍公式/************************************************************
更新時間 :2009-10-29 │ 人氣:269 │ 回應:0 |
來源不明
我也愛偶數
/****************************************************************/#inc
更新時間 :2009-10-29 │ 人氣:211 │ 回應:0 |
來源不明
我也愛偶數 (swap 版)
我的弱點,拿了好多WA 冏在此利用^ 而不用變數做交換的動作新的交換方法/*********************************
更新時間 :2009-10-29 │ 人氣:532 │ 回應:0 |
來源不明
我愛偶數
這是我的弱點,垃圾題連續做好幾次/*****************************************************
更新時間 :2009-10-29 │ 人氣:311 │ 回應:0 |
來源不明
三角形的判斷
/*************************************************************/#includ
更新時間 :2009-10-29 │ 人氣:653 │ 回應:0 |
來源不明
數字相加
在此提供遞迴版以及非遞迴版/***************************************************/#inc
更新時間 :2009-10-27 │ 人氣:1087 │ 回應:0 |
來源不明
Order's computation process
有空再補上遞迴版/***************************************************/#include&
更新時間 :2009-10-27 │ 人氣:158 │ 回應:0 |
來源不明
Fibonacci 's computation pro
作法:陣列如果F(N) N>=2 則 F(N)=F(N-1)+F(N-2)直到N<2 以下的程式碼說不定就能看懂了/******
更新時間 :2009-10-27 │ 人氣:453 │ 回應:0 |
來源不明
好熱好熱
作法:等差導解/*******************************************************/#inclu
更新時間 :2009-10-27 │ 人氣:355 │ 回應:0 |
來源不明
星級青蛙
作法:遞迴公式來源不明...待有心人提供/*************************************************
更新時間 :2009-10-27 │ 人氣:347 │ 回應:0 |
來源不明
今天是第幾天呢
做法:IF/****************************************************/#include<
更新時間 :2009-10-27 │ 人氣:482 │ 回應:0 |
來源不明
挑戰極限 Part 5:開立方根
作法 : 內建 OR 建表+二分搜尋程式碼1為內建程式碼2為建表+二分搜尋此題原本應該是要用程式碼2的方式吧結果被內建打敗了...如果N是大
更新時間 :2009-10-27 │ 人氣:1381 │ 回應:0 |
來源不明
班際籃球賽
由於一場比賽只能淘汰1個人又因為要淘汰N-1個人,才會產生冠軍,所以必須比賽N-1場/***************************
更新時間 :2009-10-02 │ 人氣:331 │ 回應:0 |
來源不明
山六九之旅
判斷不只一種,僅供參考/*********************************************************/
更新時間 :2009-10-02 │ 人氣:295 │ 回應:0 |
來源不明
USACO C-分堆大考驗
作法: DP有點像是採藥那樣的DP,在此感謝 andy3466 的協助/*****************************
更新時間 :2009-10-02 │ 人氣:330 │ 回應:0 |
來源不明
板橋高中98資訊能力競賽 最短距離
作法 : BFS擴張從起點BFS擴張,若到終點則輸出,若沒辦法到達則輸出0/********************************
更新時間 :2009-10-02 │ 人氣:577 │ 回應:0 |
來源不明
板橋高中98資訊能力競賽 直線最小距離和
作法 : 排序排序好,把中位數取出來,之後把所有距離加總即可你也可以試著窮舉所有點./***************************
更新時間 :2009-10-02 │ 人氣:869 │ 回應:0 |
來源不明
ACM 11059 11059 - Maximum Pr
作法 : 模擬題用兩個for跑,即可有只跑一次的跑法,目前還沒有研究出來!/********************************
更新時間 :2009-09-22 │ 人氣:1359 │ 回應:0 |
來源不明
C使用注意事項 初稿
輸入 :※ scanf() 是不可以讀入空格的。※ scanf() 除了讀取%s 之外的型態,都必須加上&※ scanf() 可以指
更新時間 :2009-10-03 │ 人氣:1510 │ 回應:0 |
來源不明
ACM 105 Q105: The Skyline Pr
/**********************************************************/#include&l
更新時間 :2009-09-06 │ 人氣:1922 │ 回應:0 |
來源不明
ACM 694 Q694: The Collatz Se
注意事項 : 請使用 long long .不知道為什麼在DEV C++ 一直沒辦法測試 沒關係 直接硬送就對了/***********
更新時間 :2009-08-31 │ 人氣:467 │ 回應:0 |
來源不明
ACM 713 Q713: Adding Reverse
作法 : ./**********************************************************/#inc
更新時間 :2009-08-31 │ 人氣:713 │ 回應:0 |
來源不明
ACM 993 993 - Product of dig
作法 : Greedy首先我們知道 n 必定是一個只能被 9 8 7 6 5 4 3 2 這些數字除然後我們先拿9除 紀錄幾個
更新時間 :2009-08-30 │ 人氣:2171 │ 回應:0 |
來源不明
ACM 10976 10976 - Fractions
經由INPUT得知,Y的範圍N+1~2*N/************************************************
更新時間 :2009-08-30 │ 人氣:392 │ 回應:0 |
來源不明
ACM 147 Q147: Dollars
作法 : DP(零錢問題)請善用scanf("%d.%d",&n,&m); 來讀取浮點數/*****************
更新時間 :2009-11-24 │ 人氣:1566 │ 回應:2 |
來源不明
ACM 10519 Q10519: !!REALLY S
作法 : BIGNUMBER公式 : N*N-N+2/*******************************************
更新時間 :2009-08-20 │ 人氣:433 │ 回應:0 |
來源不明
ACM 748 Q748: Exponentiation
作法 : BIGNUMBER請注意小數點的位置與是否要輸出小數點/*************************************
更新時間 :2009-08-19 │ 人氣:767 │ 回應:0 |
來源不明
ACM 10106 Q10106: Product
作法 : BIGNUMBER (大數乘法)小心答案為0的輸出.../************************************
更新時間 :2009-08-14 │ 人氣:1536 │ 回應:0 |
來源不明
快算面積
作法: 數學提供者 : teching證明 : ?/********************************************
更新時間 :2009-08-03 │ 人氣:381 │ 回應:0 |
來源不明
ACM 10102 Q10102: The path i
作法: BFS /*************************************************************
更新時間 :2009-07-29 │ 人氣:780 │ 回應:0 |
來源不明
ACM 10926 Q10926: How Many D
作法:BFS對每個點作一次BFS 把相連的串起來/*********************************************
更新時間 :2009-07-28 │ 人氣:334 │ 回應:0 |
來源不明
NOIP2002 普及組第一題 1.級數求和
簡單的模擬題./***********************************************************/#i
更新時間 :2009-07-22 │ 人氣:332 │ 回應:0 |
來源不明
NOIP2007 模擬賽 1.吉祥數
作法:模擬題目的各位數字的N次是...這樣說的假使n=123 N=3好了就是sum=1^3+2^3+3^3;大致上就是這樣,尚餘的看下面吧/
更新時間 :2009-07-20 │ 人氣:203 │ 回應:0 |
來源不明
Scanf
char1bytec-128~127unsignedchar1byteuc0~255 short2bytessh-32
更新時間 :2009-07-19 │ 人氣:13121 │ 回應:0 |
來源不明
2008 NPSC C. 咒語
做法:DP(逐步更新最佳解) C語言要過,只能看測資的難易度,所以我採用相鄰矩陣來作為連接方式,來取代LINK LIST或者是內建的...
更新時間 :2009-07-14 │ 人氣:397 │ 回應:0 |
來源不明
S△=?
作法:數學 導法:感謝teching提供!! 要把圖片跟文字一起貼上來真不容易啊= = 可點觸放大↑/*********
更新時間 :2009-07-05 │ 人氣:197 │ 回應:0 |
來源不明
中文大寫數字
老師的程式碼... /**********************************************************
更新時間 :2009-07-03 │ 人氣:2062 │ 回應:0 |
來源不明
尋找質數
2^n-1 就是梅森質數 說真的要暴力找答案有點困難,直接用現成的吧 /********************************
更新時間 :2009-06-30 │ 人氣:1370 │ 回應:1 |
來源不明
95北市資訊學科能力競賽 用餐地點 (Lunch)
作法:窮舉所有可能 /*********************************************************/
更新時間 :2009-06-28 │ 人氣:275 │ 回應:0 |
來源不明
北縣縣賽 97北縣賽-2-基因序列密碼問題
作法:LIS(DP) /*********-*********************************************/
更新時間 :2009-06-28 │ 人氣:269 │ 回應:0 |
來源不明
2006 NPSC E. 漢米頓的麻煩
作法:Floyd-Warshall 演算法 /**********************************************
更新時間 :2009-06-28 │ 人氣:867 │ 回應:1 |
來源不明
優化輸入的函式
用法:將這些程式碼貼上去你的code再指定m=input();即可m是你想(型態自行修改)使用注意:1.請別放在最外層的輸入(如果要一直輸入
更新時間 :2009-06-21 │ 人氣:6878 │ 回應:3 |
來源不明
共同的數
由於龐大的輸入,造成連SCANF都太慢,只好優化輸入 /*****************************************
更新時間 :2009-06-21 │ 人氣:355 │ 回應:1 |
來源不明
程式設計師的面試問題(二)
作法:進位問題 如果v為負數的話,先取補數之後再+1 例如是0001001→1110110→1110111 但是也有可能+1後需要進位
更新時間 :2009-06-14 │ 人氣:657 │ 回應:0 |
來源不明
ACM 356 Square Pegs And Roun
作法:目前有沒好想法 (由於N很小 所以決定暴力) 舉出1/4圓的所有可能,速度很慢(待改良) /*******************
更新時間 :2009-06-13 │ 人氣:647 │ 回應:0 |
來源不明
ACM 11185 11185 - Ternary
作法:進位... /**********************************************************/
更新時間 :2009-06-07 │ 人氣:608 │ 回應:0 |
來源不明
ACM 11455 11455 - Behold my
作法:先做邊長排序,再做判斷 /*****************************************************
更新時間 :2009-06-04 │ 人氣:210 │ 回應:0 |
來源不明
ACM 11015 Q11015: 05-2 Rende
作法:最短路徑問題 想法:假設每一點是,做最短路徑,總和最小即是 /**********************************
更新時間 :2009-06-01 │ 人氣:513 │ 回應:0 |
來源不明
2008 海峽兩岸青少年程式設計競賽 雷曼兔
作法:不太像是最短路徑,一直做更新的動作 由於是樹枝狀的圖,所以只要有順序的更新,便不會產生邏輯的錯誤 有環的或著是...就不行 以上
更新時間 :2009-05-31 │ 人氣:371 │ 回應:0 |
來源不明
ACM 544 Heavy Cargo
作法:最大運輸量問題 NPSC的水之都(想法)+丁丁共和國(技巧) /*********************************
更新時間 :2009-05-31 │ 人氣:420 │ 回應:1 |
來源不明
算算算....Hard
作法:數學 公式推導還沒出來 /****************************************************
更新時間 :2009-05-31 │ 人氣:279 │ 回應:0 |
來源不明
昇旗典禮
作法:暴力枚舉 /*****************************************************/ #inc
更新時間 :2009-05-31 │ 人氣:135 │ 回應:0 |
來源不明
2006 NPSC D. 水之都
作法:最大運輸量問題 利用相鄰矩陣加快 /***********************************************
更新時間 :2009-05-31 │ 人氣:448 │ 回應:0 |
來源不明
算算算....Easy
/******************************************************/ #include<
更新時間 :2009-05-31 │ 人氣:358 │ 回應:0 |
來源不明
95北市資訊學科能力競賽 最大矩形 (Area)
作法 : DP程式碼2 提供者 : 阿尼雅/************************************************
更新時間 :2009-05-31 │ 人氣:677 │ 回應:0 |
來源不明
ACM 11586 11586 - Train Trac
想法:頭跟尾的個數要一樣,但是只有1個軌道就不行了 /******************************************
更新時間 :2009-05-24 │ 人氣:467 │ 回應:0 |
來源不明
ACM11577 11577 - Letter Freq
作法:暴力[用陣列去存] /******************************************************/
更新時間 :2009-05-24 │ 人氣:431 │ 回應:0 |
來源不明
95高市資訊學科能力競賽 布林矩陣的等價短陣
被題目嚇到,發現其實沒那麼難(居然隔了好幾個月...) 作法:單純的檢查題 /*****************************
更新時間 :2009-05-23 │ 人氣:355 │ 回應:0 |
來源不明
快速排序.
想法:良葛格筆記 進去看唄 /************************************************
更新時間 :2009-05-23 │ 人氣:453 │ 回應:0 |
來源不明
ACM 11313 11313 - Gourmet Ga
/***************************************************************/#incl
更新時間 :2009-05-23 │ 人氣:892 │ 回應:0 |
來源不明
ACM 11296 11296 - Counting S
想法:先帶x再帶y z就理所當然的出來,藉此導出公式 /*****************************************
更新時間 :2009-05-23 │ 人氣:452 │ 回應:0 |
來源不明
ACM 10499 10499 - The Land o
此題重點為:%的輸出 /*********************************************************
更新時間 :2009-05-17 │ 人氣:589 │ 回應:0 |
來源不明
ACM 280 280 - Vertex
作法:BFS想法:建出關係圖,再利用關係圖進行BFS搜尋節點 /*************************************
更新時間 :2009-05-13 │ 人氣:216 │ 回應:0 |
來源不明
ACM 10783 10783 - Odd Sum
作法:數學(首項+末項)*項數/2 /**************************************************
更新時間 :2009-05-13 │ 人氣:684 │ 回應:0 |
來源不明
ACM 11388 11388 - GCD LCM
作法:數學. 簡單的公倍數 公因數判斷... /********************************************
更新時間 :2009-05-13 │ 人氣:598 │ 回應:0 |
來源不明
矩形對角線
沒什麼好說的 就是只擺對角線 是奇數的話就-1.. /******************************************
更新時間 :2009-05-13 │ 人氣:298 │ 回應:0 |
來源不明
999
#includeint main (void){ float a,k; char c,b; printf("請輸入一串式子
更新時間 :2009-05-12 │ 人氣:55 │ 回應:0 |
蛋仔或旺仔
2006 NOIP 普及組 NOIP2006 4.數列
作法:要轉成2進位想法:最底下的網址... /**********************************************
更新時間 :2009-05-10 │ 人氣:464 │ 回應:0 |
來源不明
ACM 537 Artificial Intellige
作法:暴力題 沒什麼好說的 /****************************************************
更新時間 :2009-05-10 │ 人氣:356 │ 回應:0 |
來源不明
ACM 409 Excuses, Excuses!
作法:暴力 想法:切割出來再進行比對 /************************************************
更新時間 :2009-05-10 │ 人氣:917 │ 回應:0 |
來源不明
ACM 10079 10079 - Pizza Cutt
作法:(1)公式解(2)遞迴解以下為公式解 /**********************************************
更新時間 :2009-05-09 │ 人氣:526 │ 回應:0 |
來源不明
ACM 11000 11000 - Bee
作法:(1)模擬(2)數學解(目前沒有想法) /*********************************************
更新時間 :2009-05-08 │ 人氣:412 │ 回應:0 |
來源不明
ACM 438 The Circumference of
作法:公式解(數學)想法:算出邊長之後,海龍公式算面積 在利用R=A*B*C/4*(面積)提供者:阿標同學(我懶得從打 原諒我唄) /**
更新時間 :2009-05-06 │ 人氣:522 │ 回應:0 |
來源不明
96高市資訊學科能力競賽 第一題:集合運算
作法:暴力?!想法:1.用暴力解 其實我看不太懂題目的多個集合要怎麼輸出 `XD /**************************
更新時間 :2009-05-06 │ 人氣:791 │ 回應:0 |
來源不明
ACM 11572 11572 - Unique Sno
此題的解法 在UVA為TLE 請勿嘗試 感謝bleed1979提供想法 其實是自己看錯題目的說....囧了 題目意思:求最長相異整數長度
更新時間 :2009-04-27 │ 人氣:693 │ 回應:0 |
來源不明
ACM 11309 11309 - Counting C
作法:暴力 題目的了解很重要!!例如 01:21 → 121 00:01 → 1  
更新時間 :2009-04-26 │ 人氣:695 │ 回應:1 |
來源不明
97高市資訊學科能力競賽 3. 矩形的內部與外部
作法:沒什麼特殊的作法想法: 1.首先將右上左下調整好並存入陣列2.之後也將邊長存入陣列3.逐一比對右上左下的座標 x1<=x<
更新時間 :2009-04-26 │ 人氣:268 │ 回應:0 |
來源不明
95全國資訊學科能力決賽 4. 靈犬尋寶
作法:BFS相似題目:喵喵抓老鼠(圖形走訪2D),ACM 11352 - Crazy King(圖形走訪2D),ACM 532 Dungeo
更新時間 :2009-04-26 │ 人氣:341 │ 回應:0 |
來源不明
ACM 615 Is It A Tree?
作法:很多 我採用暴力+BFS尋訪我個人認為應該不用 不過我想不到別的方式 網友提供唄 /**我的做法不好***************
更新時間 :2009-04-26 │ 人氣:638 │ 回應:0 |
來源不明
NOIP2004 提高組 2.合并果子
作法:Greedy1.每次拿最小的兩個數加總2.加總之後,丟回去排列,再拿最小的兩個數加總3.持續上面兩個步驟即可 跟ACM 10954一
更新時間 :2009-04-26 │ 人氣:325 │ 回應:0 |
來源不明
ACM 10929 Q10929: You can sa
作法:大數 /********************************/ #include<stdio.h>&nbs
更新時間 :2009-04-25 │ 人氣:1274 │ 回應:0 |
來源不明
ACM 11352 11352 - Crazy King
作法:BFS /***********************************/ #include<stdio.h>
更新時間 :2009-04-25 │ 人氣:464 │ 回應:0 |
來源不明
ACM 10954 10954 Add All
Greedy每做一次加總 就做一次排列 拿最小的相加最下面的程式碼為4XXms (因為多餘的指令 造成1.2秒)/*******
更新時間 :2009-11-01 │ 人氣:952 │ 回應:0 |
來源不明
ACM 10071 10071 - Back to Hi
不知道該說什麼好...簡單的物理吧 /*******************************************/ #inc
更新時間 :2009-04-25 │ 人氣:1113 │ 回應:0 |
來源不明
ACM 11150 11150 - Cola
居然有規律 冏了 Snail程式碼 /*************************************************
更新時間 :2009-04-23 │ 人氣:2383 │ 回應:1 |
來源不明
ACM 11461 11461 - Square Num
不怎麼想用內建函式的說...不過一直出錯我就認了 /*******************************************
更新時間 :2009-04-23 │ 人氣:538 │ 回應:0 |
來源不明
ACM 11526 11526 - H(n)
數學題 首先先算出N/1~N/2的個數*1 N/2~N/3的個數*2....一直砍到N/M~N/(M+1) 就可以直接除了 /*****
更新時間 :2009-04-23 │ 人氣:444 │ 回應:0 |
來源不明
ACM 11530 11530 - SMS Typing
/*************************************************************/#includ
更新時間 :2009-04-23 │ 人氣:398 │ 回應:3 |
來源不明
ACM 11462 11462 - Age Sort
數字很多且很小(利用這個) 就不必排列囉 /***********************************************
更新時間 :2009-04-23 │ 人氣:900 │ 回應:0 |
來源不明
ACM 489 Q489: Hangman Judge
/*********************/ #include<stdio.h>#include<stdlib.h&g
更新時間 :2009-04-23 │ 人氣:959 │ 回應:0 |
來源不明
1111111111111
#include int GCD(int m,int n) ; int main(void) { int m,n ; ch
更新時間 :2009-04-21 │ 人氣:136 │ 回應:0 |
蛋仔或旺仔
00000000000000000
#include int pow (int a, int b) ; int main (void){ int a, b, n ;
更新時間 :2009-04-14 │ 人氣:37 │ 回應:0 |
蛋仔或旺仔
111111
#include int main(void){ int i,j=0,k; char in[100],out[100],c;
更新時間 :2009-04-07 │ 人氣:27 │ 回應:0 |
蛋仔或旺仔
...........
# include int main (void) { int i, j; char c,in[100],out[
更新時間 :2009-04-07 │ 人氣:25 │ 回應:0 |
蛋仔或旺仔
幼稚的基礎數論
一整個就是被騙,都忘記還有負因數... /************************************************
更新時間 :2009-04-04 │ 人氣:304 │ 回應:0 |
來源不明
a+b??
大數浮點數運算 /***********************************************************/
更新時間 :2009-04-04 │ 人氣:232 │ 回應:0 |
來源不明
拿硬幣
/*********************************************************/ #include&
更新時間 :2009-04-04 │ 人氣:467 │ 回應:0 |
來源不明
飛蛾撲火番外篇之楓火看電影
/*************************************************************/ #incl
更新時間 :2009-04-04 │ 人氣:247 │ 回應:0 |
來源不明
有獎徵答:有多少矩形?
/*********************************************/ #include<stdio.h&g
更新時間 :2009-04-04 │ 人氣:190 │ 回應:0 |
來源不明
算式也可以比大小!?
/*********************************/ #include<stdio.h> &nbs
更新時間 :2009-04-04 │ 人氣:499 │ 回應:0 |
來源不明
飛蛾撲火(二)
/***************************************/ #include<stdio.h>&nbs
更新時間 :2009-04-04 │ 人氣:204 │ 回應:0 |
來源不明
飛蛾撲火(一)
5 / 3 修改 /**************************************************/ #inclu
更新時間 :2009-04-04 │ 人氣:346 │ 回應:2 |
來源不明
魔術數字X (Magic number X)
/*****************************************************/ #include<s
更新時間 :2009-04-04 │ 人氣:205 │ 回應:0 |
來源不明
Oh! My Zero!!
算有幾個5就好了 不過會有25的話 會有2個 所以 N/5 N/25 N/125 ...N/5^M得總和即為答案 /**********
更新時間 :2009-04-04 │ 人氣:453 │ 回應:0 |
來源不明
數字包牌
/************************************/ #include<stdio.h>#includ
更新時間 :2009-04-04 │ 人氣:266 │ 回應:0 |
來源不明
電腦教室
/**********************************/ #include<stdlib.h> &n
更新時間 :2009-04-04 │ 人氣:213 │ 回應:0 |
來源不明
分組報告
/**********************************/ #include<stdio.h> &nb
更新時間 :2009-04-04 │ 人氣:202 │ 回應:2 |
來源不明
文文的求婚--續集 (Case 版)
/***********************************/ #include<stdlib.h> &
更新時間 :2009-04-04 │ 人氣:208 │ 回應:0 |
來源不明
文文的求婚--續集 (EOF 版)
/***********************************/ #include<stdio.h> &n
更新時間 :2009-04-04 │ 人氣:185 │ 回應:0 |
來源不明
文文的求婚--續集 (0 尾版)
/**********************************/ #include<stdlib.h> &n
更新時間 :2009-04-04 │ 人氣:139 │ 回應:0 |
來源不明
文文的求婚--續集 (n 行版)
/********************/ #include<stdlib.h> #include&
更新時間 :2009-04-04 │ 人氣:572 │ 回應:0 |
來源不明
該減肥了!
/*********************************/ #include<stdio.h> &nbs
更新時間 :2009-04-04 │ 人氣:167 │ 回應:0 |
來源不明
文文的求婚--續集 (1 行版)
/************************/ #include<stdlib.h> #incl
更新時間 :2009-04-04 │ 人氣:167 │ 回應:0 |
來源不明
上學去吧!
/***************************************************************/ #in
更新時間 :2009-04-04 │ 人氣:220 │ 回應:0 |
來源不明
還要等多久啊?
/*************************************************************/ #incl
更新時間 :2009-04-04 │ 人氣:180 │ 回應:0 |
來源不明
數學函數練習
/************************************************************/ #inclu
更新時間 :2009-04-04 │ 人氣:633 │ 回應:0 |
來源不明
BASIC 的 SGN 函數
/*************************************************************/ #incl
更新時間 :2009-04-04 │ 人氣:389 │ 回應:0 |
來源不明
妳那裡現在幾點了?
/**************************************************************/ #inc
更新時間 :2009-04-04 │ 人氣:300 │ 回應:0 |
來源不明
中華民國萬歲
/*************************************************************/ #incl
更新時間 :2009-04-04 │ 人氣:203 │ 回應:0 |
來源不明
盈數、虧數和完全數
/***********************************************************/ #includ
更新時間 :2009-04-04 │ 人氣:937 │ 回應:0 |
來源不明
空間切割
/*************************************************************/ #incl
更新時間 :2009-04-04 │ 人氣:302 │ 回應:0 |
來源不明
平面切割
/**************************************************************/ #inc
更新時間 :2009-04-04 │ 人氣:144 │ 回應:0 |
來源不明
平面圓形切割
/**************************************************************/ #inc
更新時間 :2009-04-04 │ 人氣:805 │ 回應:0 |
來源不明
阿姆斯壯數
/*************************************************************/ #incl
更新時間 :2009-04-04 │ 人氣:1801 │ 回應:0 |
來源不明
二進位制轉換
/***********************************************************/ #includ
更新時間 :2009-04-04 │ 人氣:6439 │ 回應:1 |
來源不明
階乘運算
/********************************************************/ #include&l
更新時間 :2009-04-04 │ 人氣:1590 │ 回應:0 |
來源不明
最大公因數(GCD)
/**************************************************************/ #inc
更新時間 :2009-04-04 │ 人氣:10400 │ 回應:2 |
來源不明
數獨(SUDOKU)
/***********************************************************/ #includ
更新時間 :2009-04-04 │ 人氣:1677 │ 回應:0 |
來源不明
矩陣的翻轉
可以用2維寫 這是1維 /********************************************************
更新時間 :2009-04-04 │ 人氣:884 │ 回應:0 |
來源不明
羅馬數字
/************************************************************/ #inclu
更新時間 :2009-04-04 │ 人氣:562 │ 回應:0 |
來源不明
因數分解
Zero 抓不到\b /*********************************************************
更新時間 :2009-04-04 │ 人氣:652 │ 回應:0 |
來源不明
判斷質數
/************************************************************/ #inclu
更新時間 :2009-04-04 │ 人氣:5022 │ 回應:0 |
來源不明
一元二次方程式
/************************************************************/ #inclu
更新時間 :2009-04-04 │ 人氣:3065 │ 回應:2 |
來源不明
Eva 的回家作業
/**************************************************************/ #inc
更新時間 :2009-04-04 │ 人氣:1447 │ 回應:0 |
來源不明
兩光法師占卜術
/**********************************************************/ #include
更新時間 :2009-04-04 │ 人氣:381 │ 回應:0 |
來源不明
文文的求婚
/**************************************************************/ #inc
更新時間 :2009-04-04 │ 人氣:1080 │ 回應:0 |
來源不明
簡易加法
/**********************************************************/ #include
更新時間 :2009-04-04 │ 人氣:893 │ 回應:0 |
來源不明
哈囉
基礎中的基礎 /****************************************************
更新時間 :2009-04-04 │ 人氣:178 │ 回應:0 |
來源不明
0000
#include int main(void) { int i; char c, in[100], out[100] ;
更新時間 :2009-03-31 │ 人氣:29 │ 回應:0 |
蛋仔或旺仔
ACM 532 Dungeon Master
BFS的第2次 >< 好HIGH 這題有6個方向走,跟NPSC的喵喵抓老鼠很像 /*********************
更新時間 :2009-03-28 │ 人氣:710 │ 回應:0 |
來源不明
ACM 825 Q825: Walking on the
DP 當你學到排列組合之時 就會知道該怎麼填了 /*******************************************
更新時間 :2009-03-28 │ 人氣:842 │ 回應:0 |
來源不明
ACM 514 Rails
http://www.tcgs.tc.edu.tw/~sagit/acm/view.php?id=514原本想用一個陣列存堆疊的東西,結果寫
更新時間 :2009-03-17 │ 人氣:1865 │ 回應:0 |
來源不明
2006 NPSC F. 費波那星
費波那進位法,通過原因不明/********************************************************
更新時間 :2009-03-17 │ 人氣:455 │ 回應:0 |
來源不明
ACM 256 Q256: Quirksome Squa
/************************************************************/#include
更新時間 :2009-03-14 │ 人氣:859 │ 回應:0 |
來源不明
ACM 477 477 - Points in Figu
/***********************************************************/#include&
更新時間 :2009-03-14 │ 人氣:197 │ 回應:0 |
來源不明
ACM 476 476 - Points in Figu
/************************************************************/#include
更新時間 :2009-03-14 │ 人氣:686 │ 回應:0 |
來源不明
96北市資訊學科能力競賽 序列長度問題(Sequence
/************************************************************/#include
更新時間 :2009-03-09 │ 人氣:268 │ 回應:0 |
來源不明
2007 NPSC E. 東方幻想鄉
/***********************************************************/ #includ
更新時間 :2009-03-08 │ 人氣:266 │ 回應:0 |
來源不明
2007 NPSC D. MVP
題目看似簡單,但是還是要輸出名字會瘋掉,所以我就用陣列去存我之前存在哪裡@@寫到瘋掉!!/*************************
更新時間 :2009-03-07 │ 人氣:243 │ 回應:0 |
來源不明
2008 NPSC G. 獎金
題目了解就比較容易懂@@ /*******************************************************
更新時間 :2009-03-07 │ 人氣:216 │ 回應:0 |
來源不明
ACM 402 M*A*S*H
非環狀queue的寫法暴力/********************************************************
更新時間 :2009-03-07 │ 人氣:1614 │ 回應:0 |
來源不明
2008 TOI 研習營初選 TOI2008 3. 加減
DP(半個背包問題@@)總和為奇數的話一定沒辦法配到YES若為偶數的話,則我們就必須嘗試是否能配到1半的總和這題提供數據很小的寫法,待網友幫
更新時間 :2009-03-06 │ 人氣:983 │ 回應:0 |
來源不明
ACM 275 Expanding Fractions
注意這題與這題並不太相同,存的東西改變!!不過很相似就對了,用陣列去看餘數是否曾出現過/**************************
更新時間 :2009-03-06 │ 人氣:666 │ 回應:0 |
來源不明
ACM 350 Pseudo-Random Number
這題只要順序做對了,都不用怕了用陣列當做指標(我的指標意思是用來判斷東西用的)!!查看是否出現過相似題目/*****************
更新時間 :2009-03-06 │ 人氣:561 │ 回應:0 |
來源不明
科技冬令營信息學奧林匹克競賽樣題 七、最佳選擇
這邊要注意!!不要多跑太多,只要先算完一組,之後再一加一減就可以了時間差很多唷/******************************
更新時間 :2009-03-06 │ 人氣:147 │ 回應:0 |
來源不明
....
# include int main (void) { int a,b,u,t ; char c,d,g,h,o;
更新時間 :2009-03-03 │ 人氣:36 │ 回應:0 |
蛋仔或旺仔
2007 NOIP 普及組 2.纪念品分组
/************************************************************/#include
更新時間 :2009-03-01 │ 人氣:228 │ 回應:0 |
來源不明
ACM 11369 11369 - Shopaholic
/*************************************************************/ #incl
更新時間 :2009-03-01 │ 人氣:354 │ 回應:0 |
來源不明
94全國資訊學科能力決賽 2. 衛星通訊中心
如同NPSC PS3的寫法/********************************************************
更新時間 :2009-03-01 │ 人氣:247 │ 回應:0 |
來源不明
95高市資訊學科能力競賽 繩子上吃草的牛
橢圓面績!/*************************************************************/#i
更新時間 :2009-03-01 │ 人氣:290 │ 回應:0 |
來源不明
科技冬令營信息學 奧林匹克競賽樣題 六、智力測驗
/************************************************************/#include
更新時間 :2009-03-01 │ 人氣:183 │ 回應:0 |
來源不明
2005 NPSC C. 怪物辨識
/*************************************************************/#includ
更新時間 :2009-03-01 │ 人氣:475 │ 回應:0 |
來源不明
2005 NPSC E. 聯立多元一次方程式
測資很大,1000*1000個數字,"同步"就會很重要!同步"有時候"會+快,看情況 /*************************
更新時間 :2009-02-26 │ 人氣:526 │ 回應:0 |
來源不明
2006 NPSC B. 幼稚
順序與想法很重要,然後呢就剩下查錯誤囉/**************************************************
更新時間 :2009-02-26 │ 人氣:110 │ 回應:0 |
來源不明
ACM 340 Q340: Master-Mind Hi
/************************************************************/#include
更新時間 :2009-02-26 │ 人氣:305 │ 回應:0 |
來源不明
ACM 11172 Q11172: Relational
/*************************************************************/#includ
更新時間 :2009-02-26 │ 人氣:383 │ 回應:0 |
來源不明
章魚教學網站-97學年度程設馬拉松賽 On Sale
double有測不準原理 哈,此時暴力就現身了/**********************************************
更新時間 :2009-02-19 │ 人氣:226 │ 回應:0 |
來源不明
章魚教學網站-97學年度程設馬拉松賽 Linearity
#include<stdio.h> #include<stdl
更新時間 :2009-02-19 │ 人氣:280 │ 回應:0 |
來源不明
2007 NPSC C. 小姐,我認識妳嗎?
題目看似複雜,內容只有一小部分 /****************************************************
更新時間 :2009-02-14 │ 人氣:256 │ 回應:0 |
來源不明
NOIP2005 普及組 NOIP2005 3.采药
DP(背包問題)解法,目前還不是很熟,只有使用模仿的方式要問我我也不太懂,/********************************
更新時間 :2009-02-14 │ 人氣:198 │ 回應:0 |
來源不明
ACM 11063 11063 B2-Sequence
/*************************************************************/ #incl
更新時間 :2009-02-03 │ 人氣:886 │ 回應:1 |
來源不明
ACM 10107 What is the Median
/***********************************************************/#include&
更新時間 :2009-01-28 │ 人氣:994 │ 回應:0 |
來源不明
ACM 441 Lotto
/***********************************************************/#include&
更新時間 :2009-01-26 │ 人氣:921 │ 回應:0 |
來源不明
2007 NPSC C. 國家寶藏
/***********************************************************/#include&
更新時間 :2009-01-25 │ 人氣:264 │ 回應:0 |
來源不明
ACM 591 Box of Bricks
/***********************************************************/#include&
更新時間 :2009-01-25 │ 人氣:847 │ 回應:0 |
來源不明
ACM 11044 11044 - Searching
/*************************************************************/#includ
更新時間 :2009-01-22 │ 人氣:186 │ 回應:0 |
來源不明
2007 NPSC A. 霍格華茲特快車
暴力法!!可提供更快的嗎=ˇ= /****************************************************
更新時間 :2009-01-21 │ 人氣:166 │ 回應:0 |
來源不明
2007 NPSC C. 不公平的人,是誰?
大數的比大小!/*************************************************************/
更新時間 :2009-01-18 │ 人氣:140 │ 回應:0 |
來源不明
2005 NPSC B. 生死鬥
/***********************************************************/#include&
更新時間 :2009-01-15 │ 人氣:178 │ 回應:0 |
來源不明
2008 NPSC B. 幼稚國王去旅行
/**********************************************************/#include&l
更新時間 :2009-01-15 │ 人氣:171 │ 回應:0 |
來源不明
2008 NPSC E. 鋪地磚
/************************************************************/#include
更新時間 :2009-01-15 │ 人氣:193 │ 回應:0 |
來源不明
ACM 10970 Big Chocolate
秒殺題 不多說/*********************************************************/#inc
更新時間 :2009-01-10 │ 人氣:215 │ 回應:0 |
來源不明
ACM 10346 Peter's Smokes
此題因為不知道會重複幾次,所以用while/************************************************
更新時間 :2009-01-10 │ 人氣:1280 │ 回應:0 |
來源不明
2008 NPSC E. PK 賽
2008 NPSC 國中組初賽 E. PK 賽/**********************************************
更新時間 :2009-01-10 │ 人氣:275 │ 回應:0 |
來源不明
ACM 488 Triangle Wave
#include<stdio.h> #include<stdl
更新時間 :2009-01-08 │ 人氣:1401 │ 回應:0 |
來源不明
ACM 10550 Combination Lock
#include<stdio.h> #include<stdl
更新時間 :2009-01-08 │ 人氣:982 │ 回應:2 |
來源不明
ACM 10812 Beat the Spread!
#include<stdio.h> #include<stdl
更新時間 :2009-01-08 │ 人氣:274 │ 回應:0 |
來源不明
BMI值
#include #include int main() { float kg; float m; fl
更新時間 :2008-09-04 │ 人氣:25 │ 回應:0 |
若殘
算出平均if.
#include #include int main() { int c,m,e,g,x,z,y; int b;
更新時間 :2008-09-02 │ 人氣:73 │ 回應:0 |
若殘
電腦課
最近上電腦課好累喔~~~~~ 每天key一大堆字 #include #include
更新時間 :2008-07-03 │ 人氣:7 │ 回應:0 |
乂小⊕凱乂
1
int p,n,q; float r,w; scanf(”%d”,&p); scanf(”%f”,&r); scan
更新時間 :2008-04-09 │ 人氣:12 │ 回應:0 |
阿B
scanf.cin的EOF
一般利用scanf輸入一整行的資料時,不直接使用 %s而用%c不斷輸入,直到有’n’的換行符號時, 萬一input如下: 1234
更新時間 :2008-03-04 │ 人氣:163 │ 回應:0 |
小蝦米
程式設計
1. 百貨公司正在舉辦週年慶,消費者消費滿3000元,就享有9折優惠,消費滿7000元,就享有8折優惠。以迴圈設計C程式讓使用者每次在鍵盤上
更新時間 :2007-12-21 │ 人氣:54 │ 回應:1 |
門牙→牙齒....
程式設計
我討厭這科啦.... 都是思考&邏輯反應... 每次想完我的頭都炸了!!! 怪不得資工系的老師~有好多禿頭! 因為每次想程式...都
更新時間 :2007-11-07 │ 人氣:6 │ 回應:0 |
小官
10月21日 CAL題目解答 7-11題
第七題(最小的質數): # include int main () { int num = 0; int diviso
更新時間 :2007-10-21 │ 人氣:100 │ 回應:1 |
小蝦米
10月21日 CAL題目解答 2-6題
第一題 太簡單了,自己想辦法。= =’’ 第二題(是甲班還是乙班): # include int main () {
更新時間 :2007-10-21 │ 人氣:38 │ 回應:0 |
小蝦米
10月15日 CAL題目解答 5-10題
第五題 # include int main () { int test= 0; int max= 0; in
更新時間 :2007-10-16 │ 人氣:58 │ 回應:0 |
小蝦米
10月15日 CAL題目解答 1-4題
第一題 # include int main () { char os = ’0’; int num1= 0;
更新時間 :2007-10-16 │ 人氣:108 │ 回應:0 |
小蝦米
找質數的程式
題目:請找出比輸入的數小的所有質數。 蝦米解: # include int main () { int num= 0;
更新時間 :2007-10-10 │ 人氣:296 │ 回應:0 |
小蝦米
颱風天特別題目1:高斯消去法
題目: 試利用中原資工Visual C寫出可解三元一次(三維一階)方程式的程式。 解: float a11=0 float a1
更新時間 :2007-10-05 │ 人氣:65 │ 回應:0 |
小蝦米
計概作業11/08
#include int main() { int a,b; printf("請輸入整數:"); scanf("%d",&a
更新時間 :2006-11-09 │ 人氣:14 │ 回應:0 |
頑皮的ㄚ儒
計概作業11/06
#include main() { int i,j,k; printf("輸入2數:"); scanf("%d %d",&i,&
更新時間 :2006-11-03 │ 人氣:16 │ 回應:1 |
頑皮的ㄚ儒
很無聊的review~~
#include #include int main(void) { int a,b=0,c=0,d=0; in
更新時間 :2006-09-27 │ 人氣:35 │ 回應:1 |
小黑
寒假的鳳新...我來了...
今天..考了電腦考試.. 第一節..筆試..還好..不會太難.. 第二節上機..也還好..頂多被盪而已.. shit..上
更新時間 :2006-01-12 │ 人氣:116 │ 回應:0 |
小Q毛!!
發瘋狀態....想妳想到發瘋....
又過了一天了 想妳的層次又提升了一層 想念有分層次嗎 當然有... 以遞迴公式在執行著 int miss(int n
更新時間 :2004-02-20 │ 人氣:2 │ 回應:0 |
風憶梓陵
你看看....你看看....該死的程式
這就是每天把我搞到不能睡的東西 該死的程式....唉....你看看 你看看 .... #include void main() {
更新時間 :2003-12-15 │ 人氣:4 │ 回應:0 |
小鋒
公因數及最大公因數的程式
#include main() { int i,n=0,a,b,tmp; printf("請輸入兩個數值 : ");
更新時間 :2002-10-24 │ 人氣:37 │ 回應:0 |
仙兒
1
第 1 / 1 頁,共 291 筆
▲TOP
公告區
更多
加入PS女孩 組隊瘋搶2百萬
超取登記送咖啡
綁定Hami Point 1點抵1元
1分鐘快速揪痛!
成為獨立小姐的滾錢心法
熱門文章分類
台灣旅遊
海外旅遊
美食情報
攝影寫真
藝術設計
家庭生活
流行時尚
搞笑趣味
寶貝寵物
興趣嗜好
電玩動漫
藝文活動
圖文創作
電影賞析
音樂賞析
電視賞析
偶像後援
星座命理
男女話題
彩虹同志
心情日記
工作甘苦
校園社團
財經企管
健康樂活
數位資訊
運動體育
社會萬象
教育學習
消費情報
會員專區
新聞台開發日誌
使用說明與規範
網路分級說明
本站已依台灣網站內容分級規定處理,家長可選擇
下載分級內容過濾軟體
,以保護兒童及青少年遠離不合適的內容。