This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <limits.h> | |
#include <math.h> | |
int main() | |
{ | |
double nn=(1+sqrt(1+4.0*LONG_MAX*2.0))/2.0; | |
long int n= nn, s=n/2*(n-1),t; | |
printf("%lf %lf\n", nn, log(nn)/log(2.0)); | |
printf("%ld %ld %ld\n", n, s, s+n+1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Day changed Sat Jul 19 2014 | |
00:17 < Guest10976> 請問沒有帶識別証 還有救嗎 | |
00:18 < Guest10976> 各位大大救命呀 | |
01:47 < S3p_lin> 嗯? 網站上面沒有 R0 R1 R2 H1 H2 H3 H4 的分布圖? | |
01:48 < wens> S3p_lin: R0 R1 R2 照舊吧 | |
01:49 < wens> S3p_lin: 活動中心就是外面有摩斯那邊 | |
01:53 < S3p_lin> wens: hmm | |
01:57 < wens> 竟然兩點了 明天爬不起來QQ | |
01:57 < Heero> 五點得搭統聯北上... | |
02:02 < shtzeng_tw> 最近特別累啊 orz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Day changed Thu Aug 21 2014 | |
05:52 < iddqd> morning | |
07:21 < MrQ_> m0rning 0.0 | |
07:34 < susu> good morning~ | |
08:00 < newbuy_> 早安! 揪竟能不能到現場呢? | |
08:04 < Lunpin> good morning | |
08:06 < newbuy_> @Lunpin 早 跟您一樣鍵盤參加了:'( | |
08:14 < Lunpin> Q___Q | |
08:15 < AlpacaZoo> [HTTP] 140.109.127.10:8944 -> 54.254.253.233:80 666 / # market.voga360.com/j**** | |
08:15 < iddqd> wow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
186 31/Aug/2014:14: | |
196 31/Aug/2014:15: | |
129 31/Aug/2014:16: | |
34 31/Aug/2014:17: | |
31 31/Aug/2014:18: | |
32 31/Aug/2014:19: | |
28 31/Aug/2014:20: | |
92 31/Aug/2014:21: | |
306 31/Aug/2014:22: | |
242 31/Aug/2014:23: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mergesort :: Ord a => [a] -> [a] | |
mergesortM :: Ord a => [a] -> [a] -> [a] | |
mergesortM a [] = a | |
mergesortM [] a = a | |
mergesortM (a:ax) (b:bx) | |
| a>b = [a] ++ (mergesortM ax ([b] ++ bx)) | |
| otherwise =[b] ++ (mergesortM ([a] ++ ax) bx) | |
mergesort [] = [] | |
mergesort [a] = [a] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mgcd :: Int -> Int -> Int | |
mgcd a b | |
| b > a = mgcd b a | |
| b==1 = 1 | |
| b==0 = a | |
| otherwise = mgcd b (a `mod` b) | |
main = print (mgcd 45 6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mpla :: [[Float]] -> [Float] -> [Float] -> (Bool, [Float]) | |
mpla [] [] c = (False, c) | |
mpla (a:ax) (b:by) (c:cc) = (fl&&(s<0), rc) | |
where | |
s = b*(c+(mdot a cc)) | |
nc = case (s<0) of | |
True -> [c+(b*head a)] ++ (vadd a cc b) | |
False -> [c] ++ cc | |
(fl, rc) = mpla ax by nc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@@@@@@@@@@@ | |
edit test @@@@@@@@@@@@@@@@@@@@@ | |
@@@@@@@@@@@@ | |
/**************************************************************************** | |
* | |
* MODULE: WSN - Coordinator | |
* | |
* COMPONENT: $RCSfile: WSN_Coordinator.c,v $ | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
壹多媒體娛樂服務股份有限公司 壹網樂/網樂通, https://www.nextvod.com.tw/ #nextvod #nextv | |
H/W | |
STMicroelectronics STx7105 (Renesas SuperH Core) | |
VIA VT6113 (Ethernet) | |
NANYA NT5TU64M16GG-AC (DRAM DDR2 64Mx16 PC800 BGA) * 2 | |
Samsung NCDOM08GMS-MLC (USB DOM 8GB) | |
Winbond 25Q80 1MB Spi Flash (Onboard Flash) | |
Console Pin headers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Day changed Sat Aug 03 2013 | |
00:11 < tsai> :) | |
00:13 < pichuang_> 好多人 | |
00:14 < darkgerm> 差點忘記進來了XD | |
00:17 < darkgerm> pichuang: 學弟好 (? | |
00:17 < Jedi_> 隨手亂拿了一些奇怪的小禮品,實用性可疑,笑果若干,今、明兩天如果你剛好帶著拙著《簡報原力》或我的其他著作/譯作出席,請來跟我打個招呼,領取隨機小禮~ :p | |
00:22 < darkgerm> pichuang: 啊!原來是學長... 只看學號以為是學弟 <冏> | |
00:23 < chihhsin> darkgerm: 黑駿~ | |
00:23 < pichuang> 沒關係 我現在還沒有搞清楚狀況中XD | |
00:25 < darkgerm> chihhsin: hihi~ |
OlderNewer