Microsoft Word - 小島秀規2.doc

Similar documents
Page 1 of 6 B (The World of Mathematics) November 20, 2006 Final Exam 2006 Division: ID#: Name: 1. p, q, r (Let p, q, r are propositions. ) (10pts) (a

open / window / I / shall / the? something / want / drink / I / to the way / you / tell / the library / would / to / me


Microsoft Word - Win-Outlook.docx

浜松医科大学紀要

double float

鹿大広報149号

What s your name? Help me carry the baggage, please. politeness What s your name? Help me carry the baggage, please. iii


L1 What Can You Blood Type Tell Us? Part 1 Can you guess/ my blood type? Well,/ you re very serious person/ so/ I think/ your blood type is A. Wow!/ G

C. S2 X D. E.. (1) X S1 10 S2 X+S1 3 X+S S1S2 X+S1+S2 X S1 X+S S X+S2 X A. S1 2 a. b. c. d. e. 2

はじめに

,,,,., C Java,,.,,.,., ,,.,, i


平成29年度英語力調査結果(中学3年生)の概要

elemmay09.pub

r07.dvi

ohp07.dvi

untitled

Read the following text messages. Study the names carefully. 次のメッセージを読みましょう 名前をしっかり覚えましょう Dear Jenny, Iʼm Kim Garcia. Iʼm your new classmate. These ar

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

Condition DAQ condition condition 2 3 XML key value

超初心者用

橡Pro PDF

syspro-0405.ppt

西川町広報誌NETWORKにしかわ2011年1月号


MEET 270

国際恋愛で避けるべき7つの失敗と解決策

II ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 D

AtCoder Regular Contest 073 Editorial Kohei Morita(yosupo) A: Shiritori if python3 a, b, c = input().split() if a[len(a)-1] == b[0] and b[len(

£Ã¥×¥í¥°¥é¥ß¥ó¥°ÆþÌç (2018) - Â裵²ó ¨¡ À©¸æ¹½Â¤¡§¾ò·ïʬ´ô ¨¡

1 # include < stdio.h> 2 # include < string.h> 3 4 int main (){ 5 char str [222]; 6 scanf ("%s", str ); 7 int n= strlen ( str ); 8 for ( int i=n -2; i

<4D F736F F D208BB38DDE5F F4390B394C52E646F6378>

fx-9860G Manager PLUS_J

/ SCHEDULE /06/07(Tue) / Basic of Programming /06/09(Thu) / Fundamental structures /06/14(Tue) / Memory Management /06/1

1st-session key

< D8291BA2E706466>

Answers Practice 08 JFD1

25 II :30 16:00 (1),. Do not open this problem booklet until the start of the examination is announced. (2) 3.. Answer the following 3 proble

目次 1. レッスンで使える表現 レッスンでお困りの際に使えるフレーズからレッスンの中でよく使われるフレーズまで 便利な表現をご紹介させていただきます ご活用方法として 講師に伝えたいことが伝わらない場合に下記の通りご利用ください 1 該当の表現を直接講師に伝える 2 該当の英語表現を Skype

Cain & Abel


Introduction Purpose This training course describes the configuration and session features of the High-performance Embedded Workshop (HEW), a key tool

Complex Lab – Operating Systems - Graphical Console

S1Šû‘KŒâ‚è

untitled

untitled

オブジェクト脳のつくり方


r08.dvi

Hi. Hello. My name is What s your name? Nice to meet you. How are you? I m OK. Good morning. How are you? I am fine, thank you. My name is. Nice to me

高等学校 英語科

<4D F736F F F696E74202D CEA8D758DC E396BC8E8C F92758E8C81458C E8C81458F9593AE8E8C>

はじめに このドキュメントではftServerに関する障害調査を行う際に 必要となるログ データの取得方法を説明しています ログ データの取得には 初期解析用のデータの取得方法と 詳細な調査を行うときのデータ取得方法があります 特別な理由でOS 側のログが必要となった場合には RHELログの取得につ

yacc.dvi

05[ ]櫻井・小川(責)岩.indd

日本語教育紀要 7/pdf用 表紙

第16回ニュージェネレーション_cs4.indd

Microsoft Word - C.....u.K...doc

mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( )

C¥×¥í¥°¥é¥ß¥ó¥° ÆþÌç

ohp03.dvi

生研ニュースNo.132


™…

アンケート2

2) TA Hercules CAA 5 [6], [7] CAA BOSS [8] 2. C II C. ( 1 ) C. ( 2 ). ( 3 ) 100. ( 4 ) () HTML NFS Hercules ( )

1..FEM FEM 3. 4.


22 1,936, ,115, , , , , , ,

II

-2-

¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡-¡

Warm Up Topic Question Who was the last person you gave a gift to? 一番最近誰にプレゼントをあげましたか? Special Topics2


2 except for a female subordinate in work. Using personal name with SAN/KUN will make the distance with speech partner closer than using titles. Last

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

1 ( 8:12) Eccles. 1:8 2 2

キャリアワークショップ教師用

GOT7 EYES ON YOU ミニアルバム 1. ノハナマン What? I think it s stuck ノマンイッスミョンデェヌンゴヤ Yeah モドゥンゴルジュゴシポソ Yo baby ノワオディトゥンジカゴシポ everywhere ナンニガウォナンダミョンジュゴシポ anythin


きずなプロジェクト-表紙.indd


sein_sandwich2_FM_bounus_NYUKO.indd

Microsoft PowerPoint - #07 Quiz Are you still with me .pptx

〈論文〉興行データベースから「古典芸能」の定義を考える

Jacques Garrigue


Transcription:

0601214358 IFOM-IEO 9/1/12~10/1/12 0.

3. CHIP on chip pipeline on the Cluster raw cell file bed file( name, score, chromestart, strand rate, TF) cluster peak tracktool basic statistical analysis Makefile # make # make clean # make tar

# # CC = gcc # RM = rm -f # TAR =./$(TARGET).tar.gz # # # DEBUG = -g # CFLAGS = -Wall -O2 $(DEBUG) # LDFLAGS = -lm -mno-cygwin $(WINGUI) $(DEBUG) # Windows GUI #WINGUI = -mwindows # -lxxx # -mwindows # ld # -lkernel32 #advapi32 largeint ole32 scrnsave vfw32 cap lz32 oleaut32 shell32 #win32spl comctl32 mapi32 oledlg snmp winmm comdlg32 mfcuia32 #olepro32 svrapi winserve ctl3d32 mgmtapi opengl32 tapi32 winspool #dlcapi mpr penwin32 th32 winstrm gdi32 msacm32 pkpd32 thunk32 #wow32 glaux nddeapi rasapi32 url wsock32 glu32 netapi32 rpcdce4 #user32 wst icmp odbc32 rpcndr uuid imm32 odbccp32 rpcns4 #vdmdbg kernel32 oldnames rpcrt4 version # TARGET = hello # SRC = hello.c global.c HEADER = global.h OBJ = hello.o global.o.phony: all all: makefile makefile.dep $(TARGET)

$(TARGET): $(OBJ) #.PHONY: makefile.dep makefile.dep: $(SRC) $(HEADER) $(RM) makefile.dep $(CC) -MM $(SRC) >> makefile.dep.phony: clean clean: $(RM) $(TARGET).exe $(OBJ) makefile.dep $(TAR).PHONY: tar tar: tar czvf $(TAR). -include makefile.dep #!/bin/bash. func_shell # func_test 1 #func_shell func_test () if [ $1 -eq 1 ]; then echo "ok!" else echo "no!" fi }

C /*! ****************************************************************************** * brief * ****************************************************************************** */ #include <stdio.h> #include <malloc.h> typedef struct _cell_t struct _cell_t *next; int data; }cell_t; extern int setlist(cell_t *p, int data); extern int deletelist(cell_t* p); extern void alldeletelist(cell_t *p); cell_t g_cell;// int main(int argc, char** argv) g_cell.next = NULL;// setlist(&g_cell, 0); setlist(g_cell.next, 1); deletelist(&g_cell); alldeletelist(&g_cell); } return(0); /*!

****************************************************************************** * fn int setlist(cell_t* p, int data) * param *p * param data * return -1 0 * ****************************************************************************** */ int setlist(cell_t* p, int data) cell_t *tmp; tmp = (cell_t*)malloc(sizeof(cell_t)); if(tmp == NULL) return(-1); } } tmp->next = p->next; tmp->data = data; p->next = tmp; return(0); /*! ****************************************************************************** * fn int deletelist(cell_t* p) * brief * param *p * return -1: 0: * ****************************************************************************** */ int deletelist(cell_t* p) cell_t *tmp; if(p->next == NULL)

} return(-1); } tmp = p->next; p->next = tmp->next; free(tmp); return(0); /*! ****************************************************************************** * fn void alldeletelist(cell_t *p) * brief * param *p * return None * ****************************************************************************** */ void alldeletelist(cell_t *p) cell_t *tmp; while (p->next!= NULL) tmp = p->next; p->next = tmp->next; free(tmp); } } IFOM-IEO Hello guys, Mauro reported to me that you are proceeding very well in getting to know "make", I would like you to try to do this last exercise, then we will start with something serious! This is the problem: - You have to create a directory with a Makefile and, if you think it is needed, some

other file in it. - Put in the directory the text file you obtained at the beginning of the first exercise and name it roba.txt - Someone will then put in the directory a certain number of files, with different names (you do not know in advance the number of files nor the names), all you know is that they will be named ending in ".pat", say that they might be one.pat two.pat three.pat and so on; and then the user will simply type "make". - Each ".pat" file will contain exactly one line with some letters, you have to create the corresponding ".res" files, if something.pat contains "abc" then something.res should contain all the lines of the big file roba.txt which contain the sequence of letters "abc" (NOT case sensitive). - Then you will have to create the ".tot" files, each ".tot" file should contain the sum of the numbers in the lines of roba.txt matched by the ".pat" file. So say that who uses your "tool" has placed a file named pippo.pat containing "ba" then pippo.res will contain 5198 lines and pippo.tot will contain exactly the number 2642832 - Finally you have to create a file results.txt, this single file will contain exactly one line per each ".pat" file you had, these line should contain the name of the ".pat" file without extension and the number in the corresponding.tot file - If the user changes, deletes or adds ".pat" files and types "make" the thing is expected to update what is needed properly As a test case if I put these files acocito@host138:~/thing cat fragola.pat ba acocito@host138:~/thing cat melone.pat ab Then results.txt should contain: fragola 2642832 melone 4530168 Have fun! A. Hi Mauro,

I solved the questoin by the following ways. 1. wget -r cocito.group.ifom.eu/stuff/ 2. cd cocito.group.ifom.eu 3. cd stuff 4. cat roba.txt.gz*>test1.txt.gz 5. gunzip tst1.txt.gz 6. grep -i ^.b[^a].* test1.txt<test2.txt 7. awk 'total=total+$2}endprint total}' test2.txt answer=550194 Hi Mauro, I solved the questoin by the following ways. 1. wget -r cocito.group.ifom.eu/stuff/ 2. cd cocito.group.ifom.eu 3. cd stuff 4. cat roba.txt.gz*>test1.txt.gz 5. gunzip tst1.txt.gz 6. grep -i ^.b[^a].* test1.txt 7. awk 'total=total+$2}endprint total}' test1.txt answer=117627587 4. Cocito google Mauro IFOM-IEO NIH

Italian English Mauro IFOM Cocito Mauro Pino Farewell Party