Japanese Olympiad in Informatics 2014/2015 Spring Training Camp/Qualifying Trial March 19 25, 2015, Komaba/Yoyogi, Tokyo Contest Day 0 Add together (A

Size: px
Start display at page:

Download "Japanese Olympiad in Informatics 2014/2015 Spring Training Camp/Qualifying Trial March 19 25, 2015, Komaba/Yoyogi, Tokyo Contest Day 0 Add together (A"

Transcription

1 Contest Day 0 Add together (Add together) A B K A B A B K K A B A K B K A B A B A B B K K A B A B K 1 A B 1 K A B K B B A B K A B A B K 2 A B 2 1 playera.c playera.cpp A 1 / 5

2 Contest Day 0 Add together void InitA(int T) 1 T T int GameA(int Q, int X) A K Q A K Q 0 Q X A K X 1 X P P A P [1] 2 playerb.c playerb.cpp B void InitB(int T) 1 T T int GameB(int P, int X) B K P B K P 0 P X B K X 1 X Q Q B Q [2] int AnswerB(int P) B K P B K P 0 P Y B A B Y Y [3] GameA GameB static A B 2 A B 2 / 5

3 Contest Day 0 Add together 1 grader.c grader.cpp C gcc -O2 -o grader grader.c playera.c playerb.c -lm C++ g++ -std=c++11 -O2 -o grader grader.cpp playera.cpp playerb.cpp grader 1 T, N T K A B N N i (1 i N) A B C i X i C i A B InitA InitB i GameA GameB X X i 1 Accepted () Wrong Answer [1] [3] AnswerB Y Wrong Answer [3] : Y = 4 3 / 5

4 Contest Day 0 Add together 1 N X i 100 (1 i N) 1 [30 ] T = 1 N = 2 C 1 B C 2 A InitA InitB GameB, GameA, AnswerB 2 [70 ] T = A 6 B 5 B 4 A 3 A 2 B 1 4 / 5

5 Contest Day 0 Add together A B InitA(2) InitB(2) GameA(0, 6) 6 GameB(6, 5) 5 GameB(6, 4) 60 GameA(60, 3) 53 GameA(60, 2) 530 GameB(530, 1) 601 AnswerB(530) 14 A = 8 B = = 14 5 / 5

6 Contest Day 0 Hit (Hit) (Output Only Task) 10 N 1, N 2,..., N 10 K N 1, N 2,..., N IOI 2018 K N i (1 i 10) M K N i M 10 K K N 1, N 2,..., N N i = M = K N i M K 3 N 1, N 2,..., N 10 C/C++ void Initialize(int T); 1 T 0 T 10 T 0 < T N T T = 0 hit.in N 0 int Hit(long long M); N T N T M 10 1 / 3

7 Contest Day 0 Hit void Finalize(); main main hitlib.h hitlib.o Hit.c Hit.cpp C gcc -O2 -o hit hitlib.o Hit.c -lm C++ g++ -std=c++11 -O2 -o hit hitlib.o Hit.cpp Initialize 0 hit.in hit.in hit.in N ERR 1 Invalid T. ERR 2 Invalid M. ERR 3 Initialization called twice. ERR 4 Hit called before Initialization. ERR 5 File error. ERR 6 Network error. T M Initialize 2 Hit Initialize 2 / 3

8 Contest Day 0 Hit N 1, N 2,..., N ,..., 9?? N 1, N 2,..., N 10 output_01.txt, output_02.txt,..., output_10.txt N i (1 i 10) 0 0,..., 9 0 0,..., 9 hit.in Initialize(0) Hit( LL) 0 Hit( LL) 1 Hit( LL) 4 Hit(99) 2 Finalize() LL C/C++ long long LL LL 3 / 3

9 Contest Day 0 Illumination (Illumination) JOI N JOI 1 JOI / 3

10 Contest Day 0 Illumination 1 N 2 N 0 1 i (1 i N) i N [20 ] N [20 ] N [60 ] 2 / 3

11 Contest Day 0 Illumination / 3

12 Contest Day 0 Take the IOI train IOI (Take the IOI train) IOI IOI I, O 2 I IOIOI 5 I 1 OIOI IOOI S T 2 IOI S T : 1 IOI 1 / 3

13 Contest Day 0 Take the IOI train 1 M, N S M T N 2 2 I, O S S I, O T T M N [20 ] M 10 N 10 IOI 2 / 3

14 Contest Day 0 Take the IOI train 2 [30 ] M 50 N 50 3 [50 ] OIOOI OOIOI 7 S 1 T 2 S S T S S T T 7 IOIOIOI S 1 T 2 T T S S T S S IIIII IIIIIIIII 1 1 I IOI 3 / 3

2.

2. 2. 10 2. 2. 1995/12006/111995/42006/12 2. 10 1995120061119954200612 02505 025 05 025 02505 0303 02505 250100 250 200 100200 5010050 100200 100 100 50100 100200 50100 10 75100100 0250512 02505 1 025051205

More information

橡matufw

橡matufw 3 10 25 3 18 42 1 2 6 2001 8 22 3 03 36 3 4 A 2002 2001 1 1 2014 28 26 5 9 1990 2000 2000 12 2000 12 12 12 1999 88 5 2014 60 57 1996 30 25 205 0 4 120 1,5 A 1995 3 1990 30 6 2000 2004 2000 6 7 2001 5 2002

More information

O

O 11 2 1 2 1 1 2 1 80 2 160 3 4 17 257 1 2 1 2 3 3 1 2 138 1 1 170 O 3 5 1 5 6 139 1 A 5 2.5 A 1 A 1 1 3 20 5 A 81 87 67 A 140 11 12 2 1 1 1 12 22 1 10 1 13 A 2 3 2 6 1 B 2 B B B 1 2 B 100 B 10 B 3 3 B 1

More information

Jasmine

Jasmine Jasmine Jasmine Jasmine 1.... 3 1.1.... 3 1.2.... 5 1.3.... 6 1.4.... 8 1.5....11 1.6.... 13-2 - Jasmine 1. 1.1. - 3 - Jasmine - 4 - Jasmine 1.2. 1 20-5 - Jasmine 1.3. - 6 - Jasmine [ERR0001] [ERR0001]

More information

Jasmine 1.... 3 1.1.... 3 1.2.... 5 1.3.... 7 1.4.... 9 1.5....11 1.6.... 13 1.7.... 14-2 -

Jasmine 1.... 3 1.1.... 3 1.2.... 5 1.3.... 7 1.4.... 9 1.5....11 1.6.... 13 1.7.... 14-2 - Jasmine Jasmine Jasmine 1.... 3 1.1.... 3 1.2.... 5 1.3.... 7 1.4.... 9 1.5....11 1.6.... 13 1.7.... 14-2 - Jasmine 1. 1.1. - 3 - Jasmine [ERR0001] [ERR0001] [ERR0001] [ERR0034] [ERR0032] [ERR0034] - 4

More information

Microsoft Word - keisankigairon.ch doc

Microsoft Word - keisankigairon.ch doc 1000000100001010 1000001000001011 0100001100010010 1010001100001100 load %r1,10 load %r2,11 add %r3,%r1,%r2 store %r3,12 k = i + j ; = > (* 1 2 3 4 5 6 7 8 9 10) 3628800 DO 3 I=1,3 DO3I=1.3 DO3I 1.3

More information

pg. 2

pg. 2 pg. 1 pg. 2 pg. 3 pg. 4 pg. 5 pg. 6 pg. 7 pg. 8 pg. 9 pg. 10 pg. 11 pg. 12 pg. 13 pg. 14 pg. 15 pg. 16 pg. 17 pg. 18 pg. 19 pg. 20 pg. 21 2010-4-8 pg. 22 Answer2010-4-8 pg. 23 pg. 24 Answer2010-4-8 Answer2010-4-8

More information

untitled

untitled H8/300,H8S,H8SX [H8S,H8/300 Tool Chain Ver6.2.0.0] #define Inline static inline //************************************************** Inline char sil_and_mem(char *mem,char and) return (*((volatile

More information

untitled

untitled 21 H22 H20 H19 H20 H19 H21 H21 H17 H21 L=650m W=16m H21 L=355m H19 L=770m 15 8 1 (1) 42 118,607.62 118,606.34 1.28 18,748.35 18,748.31 0.04 2,845.58 2,845.48 0.10 1.42 40 40 18.89 0.65 1.44 20.98

More information

○01 那覇市(7月変更)

○01 那覇市(7月変更) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 H26,2 H28.2 9 9 38 39 40 41 42 43 l ll 44 45 46 47 48 49 50 51 52 53 54 55 2733 14,500 56 57 58 59

More information

ex01.dvi

ex01.dvi ,. 0. 0.0. C () /******************************* * $Id: ex_0_0.c,v.2 2006-04-0 3:37:00+09 naito Exp $ * * 0. 0.0 *******************************/ #include int main(int argc, char **argv) { double

More information

02

02 54 163116831 02 1 168 54 158 53 162 53 148 52 152 52 10,000 0 40,000 30,000 20,000 50,000 70,000 60,000 1,000 500 1,500 2,000 0 2,500 3,000 4,000 3,500 4,500 168 54 158 53 162 53 148 52 152 52 03 52148

More information

P000-063.....s.....v..

P000-063.....s.....v.. 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 2.8% 29.9% 54.1% 6.9% 5.6% 0.7% 2.6% 30.8% 54.0% 6.5% 5.5% 0.6% 33.6% 3.5% 52.9% 5.7% 4.0% 0.3% 2.8% 17.5% 58.7% 11.5% 8.0% 1.5% 30.3% 51.3% 7.9% 9.2% 1.3% 0.0%

More information

(Version: 2017/4/18) Intel CPU 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU do

(Version: 2017/4/18) Intel CPU 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU do (Version: 2017/4/18) Intel CPU (kashi@waseda.jp) 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU double 8087 FPU (floating point number processing unit)

More information

プリント

プリント l l l l ll l l l l l l l l l l l 𩸽 l l l l l ll l l l l l l l l l ll l l l l l l l l ll ll l l l l l l ll ll ll l

More information

2 1,384,000 2,000,000 1,296,211 1,793,925 38,000 54,500 27,804 43,187 41,000 60,000 31,776 49,017 8,781 18,663 25,000 35,300 3 4 5 6 1,296,211 1,793,925 27,804 43,187 1,275,648 1,753,306 29,387 43,025

More information

/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v

/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v 1 http://www7.bpe.es.osaka-u.ac.jp/~kota/classes/jse.html kota@fbs.osaka-u.ac.jp /* do-while */ #include #include int main(void) double val1, val2, arith_mean, geo_mean; printf( \n );

More information

Ⅰ Report#1 Report#1 printf() /* Program : hello.c Student-ID : 095740C Author UpDate Comment */ #include int main(){ : Yuhi,TOMARI : 2009/04/28(Thu) : Used Easy Function printf() 10 printf("hello,

More information

km2 km2 km2 km2 km2 22 4 H20 H20 H21 H20 (H22) (H22) (H22) L=600m L=430m 1 H14.04.12 () 1.6km 2 H.14.05.31 () 3km 3 4 5 H.15.03.18 () 3km H.15.06.20 () 1.1km H.15.06.30 () 800m 6 H.15.07.18

More information

ex01.dvi

ex01.dvi ,. 0. 0.0. C () /******************************* * $Id: ex_0_0.c,v.2 2006-04-0 3:37:00+09 naito Exp $ * * 0. 0.0 *******************************/ #include int main(int argc, char **argv) double

More information

comment.dvi

comment.dvi ( ) (sample1.c) (sample1.c) 2 2 Nearest Neighbor 1 (2D-class1.dat) 2 (2D-class2.dat) (2D-test.dat) 3 Nearest Neighbor Nearest Neighbor ( 1) 2 1: NN 1 (sample1.c) /* -----------------------------------------------------------------

More information

DOPRI5.dvi

DOPRI5.dvi ODE DOPRI5 ( ) 16 3 31 Runge Kutta Dormand Prince 5(4) [1, pp. 178 179] DOPRI5 http://www.unige.ch/math/folks/hairer/software.html Fortran C C++ [3, pp.51 56] DOPRI5 C cprog.tar % tar xvf cprog.tar cprog/

More information

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved

64bit SSE2 SSE2 FPU Visual C++ 64bit Inline Assembler 4 FPU SSE2 4.1 FPU Control Word FPU 16bit R R R IC RC(2) PC(2) R R PM UM OM ZM DM IM R: reserved (Version: 2013/7/10) Intel CPU (kashi@waseda.jp) 1 Intel CPU( AMD CPU) 64bit SIMD Inline Assemler Windows Visual C++ Linux gcc 2 FPU SSE2 Intel CPU double 8087 FPU (floating point number processing unit)

More information

2012_00表紙

2012_00表紙 02 Network Program 05 1 2 3 4 5 6 1 13 60 5,800 06 07 Program 10 12 Program 14 Program 18 20 Program 22 24 Program 25 26 27 28 29 30 31 32 Program 33 34 35 40 Program 41 42 43 44 45 46 Program

More information

< 中略 > 24 0 NNE 次に 指定した日時の時間降水量と気温を 観測地点の一覧表に載っているすべての地点について出力するプログラムを作成してみます 観測地点の一覧表は index.txt というファイルで与えられています このファイルを読みこむためのサブルーチンが AMD

< 中略 > 24 0 NNE 次に 指定した日時の時間降水量と気温を 観測地点の一覧表に載っているすべての地点について出力するプログラムを作成してみます 観測地点の一覧表は index.txt というファイルで与えられています このファイルを読みこむためのサブルーチンが AMD 地上気象観測データの解析 1 AMeDAS データの解析 研究を進めるにあたって データ解析用のプログラムを自分で作成する必要が生じることがあります ここでは 自分で FORTRAN または C でプログラムを作成し CD-ROM に入った気象観測データ ( 気象庁による AMeDAS の観測データ ) を読みこんで解析します データを読みこむためのサブルーチンや関数はあらかじめ作成してあります それらのサブルーチンや関数を使って自分でプログラムを書いてデータを解析していきます

More information

( ) ( ) lex LL(1) LL(1)

( ) ( ) lex LL(1) LL(1) () () lex LL(1) LL(1) http://www.cs.info.mie-u.ac.jp/~toshi/lectures/compiler/ 29 5 14 1 1 () / (front end) (back end) (phase) (pass) 1 2 1 () () var left, right; fun int main() { left = 0; right = 10;

More information

明解Java入門編

明解Java入門編 1 Fig.1-1 4 Fig.1-1 1-1 1 Table 1-1 Ease of Development 1-1 Table 1-1 Java Development Kit 1 Java List 1-1 List 1-1 Chap01/Hello.java // class Hello { Java System.out.println("Java"); System.out.println("");

More information

森林火災保険ご契約のしおり

森林火災保険ご契約のしおり 1 0120-25-7474 2 20 3 50 50 50 20 20 80 1 4 30 125cc 5 500 30 10 20 20 300 72 301,000 6 19 7 19 19 14 32 12 8 13 15 16 16 1820 17 20 9 26 30 180 90 22118 60 180 24205 28 80 10 500 500 500 20 20 20 300

More information

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

/ SCHEDULE /06/07(Tue) / Basic of Programming /06/09(Thu) / Fundamental structures /06/14(Tue) / Memory Management /06/1 I117 II I117 PROGRAMMING PRACTICE II 2 MEMORY MANAGEMENT 2 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara yasu@jaist.ac.jp / SCHEDULE 1. 2011/06/07(Tue) / Basic of Programming

More information

< 中略 > 24 0 NNE 次に 指定した日時の時間降水量と気温を 観測地点の一覧表に載っているすべての地点について出力するプログラムを作成してみます 観測地点の一覧表は index.txt というファイルで与えられています このファイルを読みこむためのサブルーチンが AMD

< 中略 > 24 0 NNE 次に 指定した日時の時間降水量と気温を 観測地点の一覧表に載っているすべての地点について出力するプログラムを作成してみます 観測地点の一覧表は index.txt というファイルで与えられています このファイルを読みこむためのサブルーチンが AMD 気象観測データの解析 1 AMeDAS データの解析 研究を進めるにあたって データ解析用のプログラムを自分で作成する必要が生じることがあります ここでは 自分で FORTRAN または C でプログラムを作成し CD-ROM に入った気象観測データ ( 気象庁による AMeDAS の観測データ ) を読みこんで解析します データを読みこむためのサブルーチンや関数はあらかじめ作成してあります それらのサブルーチンや関数を使って自分でプログラムを書いてデータを解析していきます

More information

... 1... 1... 1... 4... 4... 5... 5...11... 12... 12... 12... 12... 13... 13... 14... 14... 18... 19

... 1... 1... 1... 4... 4... 5... 5...11... 12... 12... 12... 12... 13... 13... 14... 14... 18... 19 1 ... 1... 1... 1... 4... 4... 5... 5...11... 12... 12... 12... 12... 13... 13... 14... 14... 18... 19 1 ( ) 7,200 1,800 2,300 1,715 220 1,500 ( ) 5 14,735 8,186 710 ( ) 1 8,896 2,000 5,200 17,872 600

More information

2 (4)-7

2 (4)-7 2 (4)-7 (4)-7 3 4 p r f > 5 6 7 8 9 10 11 r q!1 o!0!2!3!4!5 w e t y u i!6!7 q w e r t y 12 u i o!0!1!7!2!3!4!5 p r f >!6!7 13 !8!8!9!9 @0 @0 14 @1 @2 @3 @4 @5 @6 @7 @8 @9 @1 @2 @3 @5 @6 @7 @8 @9 @4 15

More information

I void* School of Information Science, Japan Advanced Institute of Science and Technology

I void* School of Information Science, Japan Advanced Institute of Science and Technology I117 25 void* School of Information Science, Japan Advanced Institute of Science and Technology sdict ( ) idict ; long long double void* Japan Advanced Institute of Science and Technology 2008 1-2 1 idict

More information

企業費用・利益総合保険_平成27年10月_損保ジャパン日本興亜

企業費用・利益総合保険_平成27年10月_損保ジャパン日本興亜 27 10 P 3 1 1 2 3 7 12 10 8 50 75 55 50 3.5 9 5.5 4 120 60 25 15 2.3 2 6,800 3,300 11,500 2.350 1.5 275 3,740 6,80055 P 3 1,650 3,30050 2 1 2 1 1 2 3 4 5 1 6 7 2 2 1 11024 2 1 3 2 3 1 2 3 125cc. 1 2 1

More information

r07.dvi

r07.dvi 19 7 ( ) 2019.4.20 1 1.1 (data structure ( (dynamic data structure 1 malloc C free C (garbage collection GC C GC(conservative GC 2 1.2 data next p 3 5 7 9 p 3 5 7 9 p 3 5 7 9 1 1: (single linked list 1

More information

untitled

untitled II yacc 005 : 1, 1 1 1 %{ int lineno=0; 3 int wordno=0; 4 int charno=0; 5 6 %} 7 8 %% 9 [ \t]+ { charno+=strlen(yytext); } 10 "\n" { lineno++; charno++; } 11 [^ \t\n]+ { wordno++; charno+=strlen(yytext);}

More information

Microsoft Word - Sample_CQS-Report_English_backslant.doc

Microsoft Word - Sample_CQS-Report_English_backslant.doc ***** Corporation ANSI C compiler test system System test report 2005/11/16 Japan Novel Corporation *****V43/NQP-DS-501-1 Contents Contents......2 1. Evaluated compiler......3 1.1. smp-compiler compiler...3

More information

ohp07.dvi

ohp07.dvi 19 7 ( ) 2019.4.20 1 (data structure) ( ) (dynamic data structure) 1 malloc C free 1 (static data structure) 2 (2) C (garbage collection GC) C GC(conservative GC) 2 2 conservative GC 3 data next p 3 5

More information

2

2 1 2 3 4 23 26 1.821.42 5 6 7 8 9 10 11 (kw) 50.0 10.0 5.5 20.0 20.0 50.0 5.0 32.0 22.0 10.2 224.7 12 13 m3 14 15 16 17 18 19 20 21 22 23 24 25 12 26 27 L=50m 28 29 30 31 32 33 34 35 36 37 kl/ 年 kl/ 年 kl/

More information

Condition DAQ condition condition 2 3 XML key value

Condition DAQ condition condition 2 3 XML key value Condition DAQ condition 2009 6 10 2009 7 2 2009 7 3 2010 8 3 1 2 2 condition 2 3 XML key value 3 4 4 4.1............................. 5 4.2...................... 5 5 6 6 Makefile 7 7 9 7.1 Condition.h.............................

More information

I117 II I117 PROGRAMMING PRACTICE II SOFTWARE DEVELOPMENT ENV. 1 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara

I117 II I117 PROGRAMMING PRACTICE II SOFTWARE DEVELOPMENT ENV. 1 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara I117 II I117 PROGRAMMING PRACTICE II SOFTWARE DEVELOPMENT ENV. 1 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara yasu@jaist.ac.jp / SCHEDULE 1. 2011/06/07(Tue) / Basic of

More information

lexex.dvi

lexex.dvi (2018, c ) http://istksckwanseiacjp/ ishiura/cpl/ 4 41 1 mini-c lexc,, 2 testlexc, lexc mini-c 1 ( ) mini-c ( ) (int, char, if, else, while, return 6 ) ( ) (+, -, *, /, %, &, =, ==,!=, >, >=,

More information

9 8 7 (x-1.0)*(x-1.0) *(x-1.0) (a) f(a) (b) f(a) Figure 1: f(a) a =1.0 (1) a 1.0 f(1.0)

9 8 7 (x-1.0)*(x-1.0) *(x-1.0) (a) f(a) (b) f(a) Figure 1: f(a) a =1.0 (1) a 1.0 f(1.0) E-mail: takio-kurita@aist.go.jp 1 ( ) CPU ( ) 2 1. a f(a) =(a 1.0) 2 (1) a ( ) 1(a) f(a) a (1) a f(a) a =2(a 1.0) (2) 2 0 a f(a) a =2(a 1.0) = 0 (3) 1 9 8 7 (x-1.0)*(x-1.0) 6 4 2.0*(x-1.0) 6 2 5 4 0 3-2

More information

8 / 0 1 i++ i 1 i-- i C !!! C 2

8 / 0 1 i++ i 1 i-- i C !!! C 2 C 2006 5 2 printf() 1 [1] 5 8 C 5 ( ) 6 (auto) (static) 7 (=) 1 8 / 0 1 i++ i 1 i-- i 1 2 2.1 C 4 5 3 13!!! C 2 2.2 C ( ) 4 1 HTML はじめ mkdir work 作業用ディレクトリーの作成 emacs hoge.c& エディターによりソースプログラム作成 gcc -o fuga

More information

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 2 5 24 () () () () () 1 1 150 50 50 1 1 ( 15,000 ) 150 ( 15,000 ) 100 50 50 1 1 ( 6,000 ) 150 ( 6,000 ) 100 50 50 1 1 150 1 1 150 100 0.25

More information

Intel® Compilers Professional Editions

Intel® Compilers Professional Editions 2007 6 10.0 * 10.0 6 5 Software &Solutions group 10.0 (SV) C++ Fortran OpenMP* OpenMP API / : 200 C/C++ Fortran : OpenMP : : : $ cat -n main.cpp 1 #include 2 int foo(const char *); 3 int main()

More information

d-00

d-00 283-0105 298 TEL. 0475-76-0839 FAX. 0475-76-0838 400g 300 4950399167708 14 220g 300 4950399066780 Page 1 300g 200 4950399066766 100 400g 300 4950399167722 350g 160 4950399066735 100 600g 350 4950399167685

More information

AN 100: ISPを使用するためのガイドライン

AN 100: ISPを使用するためのガイドライン ISP AN 100: In-System Programmability Guidelines 1998 8 ver.1.01 Application Note 100 ISP Altera Corporation Page 1 A-AN-100-01.01/J VCCINT VCCINT VCCINT Page 2 Altera Corporation IEEE Std. 1149.1 TCK

More information

tuat2.dvi

tuat2.dvi ( 2 ) http://ist.ksc.kwansei.ac.jp/ tutimura/ 2012 7 7 ( 2 ) 1 / 54 (1) (2) (?) (1) (2) 2 ( 2 ) 2 / 54 1. 30 2. 2012 6 30 25 OS ( 2 ) 3 / 54 10 20 1993 1996 2000 2003 = 30 ( 2 ) 4 / 54 1 2 2 ( 2 ) 5 /

More information

untitled

untitled \ \ \ \ CFLAGS = -fwritable-strings -O LDFLAGS = -L/usr/X11R6/lib -L/usr/local/lib/wnn -ltk2 -lx11 -lwnn -lm -lcrypt CC = gcc LINKER = gcc OBJS = panel.o main.o PROGRAM = exe all: $(PROGRAM) $(PROGRAM):

More information

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

Microsoft Word - C.....u.K...doc C uwêííôöðöõ Ð C ÔÖÐÖÕ ÐÊÉÌÊ C ÔÖÐÖÕÊ C ÔÖÐÖÕÊ Ç Ê Æ ~ if eíè ~ for ÒÑÒ ÌÆÊÉÉÊ ~ switch ÉeÍÈ ~ while ÒÑÒ ÊÍÍÔÖÐÖÕÊ ~ 1 C ÔÖÐÖÕ ÐÊÉÌÊ uê~ ÏÒÏÑ Ð ÓÏÖ CUI Ô ÑÊ ÏÒÏÑ ÔÖÐÖÕÎ d ÈÍÉÇÊ ÆÒ Ö ÒÐÑÒ ÊÔÎÏÖÎ d ÉÇÍÊ

More information

Microsoft Word - .....J.^...O.|Word.i10...j.doc

Microsoft Word - .....J.^...O.|Word.i10...j.doc P 1. 2. R H C H, etc. R' n R' R C R'' R R H R R' R C C R R C R' R C R' R C C R 1-1 1-2 3. 1-3 1-4 4. 5. 1-5 5. 1-6 6. 10 1-7 7. 1-8 8. 2-1 2-2 2-3 9. 2-4 2-5 2-6 2-7 10. 2-8 10. 2-9 10. 2-10 10. 11. C

More information

昨年度までの研究紹介 および 研究計画

昨年度までの研究紹介 および 研究計画 第 12 回 ICN 研究会ワークショップ Cefore で キャッシュプラグイン開発 2018 年 8 月 30 日 ( 木 ) キャッシュプラグイン csmgrd は起動時に使用するキャッシュプラグインを指定 Cache plugin: キャッシュデータ保存方式 Cache algorithm: キャッシュ選択 / 置換アルゴリズム Cache Plugin Cache algorithm csmgrd

More information

[1] #include<stdio.h> main() { printf("hello, world."); return 0; } (G1) int long int float ± ±

[1] #include<stdio.h> main() { printf(hello, world.); return 0; } (G1) int long int float ± ± [1] #include printf("hello, world."); (G1) int -32768 32767 long int -2147483648 2147483647 float ±3.4 10 38 ±3.4 10 38 double ±1.7 10 308 ±1.7 10 308 char [2] #include int a, b, c, d,

More information

Ver.1 1/17/2003 2

Ver.1 1/17/2003 2 Ver.1 1/17/2003 1 Ver.1 1/17/2003 2 Ver.1 1/17/2003 3 Ver.1 1/17/2003 4 Ver.1 1/17/2003 5 Ver.1 1/17/2003 6 Ver.1 1/17/2003 MALTAB M GUI figure >> guide GUI GUI OK 7 Ver.1 1/17/2003 8 Ver.1 1/17/2003 Callback

More information

#include #include #include int gcd( int a, int b) { if ( b == 0 ) return a; else { int c = a % b; return gcd( b, c); } /* if */ } int main() { int a = 60; int b = 45; int

More information

< F2D E E6A7464>

< F2D E E6A7464> ピタゴラス数 [Java アプレット ] [Java アプリケーション ] 1. はじめに 2 2 2 三平方の定理 a +b =c を満たす3つの自然数の組 ( a, b, c) をピタゴラス数と言います ピタゴラス数の最も簡単な例として (3,4,5) がありますね このピタゴラス数を求めるには ピタゴラスの方法とプラトンの方法の2つの方法があります 2 2 ピタゴラス数 (a,b,c) に対して

More information

EP760取扱説明書

EP760取扱説明書 D D D # % ' ) * +, B - B / 1 Q&A B 2 B 5 B 6 Q & A 7 8 $ % & ' B B B ( B B B B B B B B B B B ) B B B A # $ A B B * 1 2 # $ % # B B % $ # $ % + B B 1 B 2 B B B B B B B B B B , B B B - 1 3 2 2 B B B B B

More information

1 1.1 *1 1. sep1.cpp main() sep.cpp separate() *1 GNOME KDE 3

1 1.1 *1 1. sep1.cpp main() sep.cpp separate() *1 GNOME KDE 3 C/C++ 007 5 8 1 1.1............................................... 1.......................................... 1.3.......................................... 5 1...........................................

More information

Java (7) Lesson = (1) 1 m 3 /s m 2 5 m 2 4 m 2 1 m 3 m 1 m 0.5 m 3 /ms 0.3 m 3 /ms 0.6 m 3 /ms 1 1 3

Java (7) Lesson = (1) 1 m 3 /s m 2 5 m 2 4 m 2 1 m 3 m 1 m 0.5 m 3 /ms 0.3 m 3 /ms 0.6 m 3 /ms 1 1 3 Java (7) 2008-05-20 1 Lesson 5 1.1 5 3 = (1) 1 m 3 /s 1 2 3 10 m 2 5 m 2 4 m 2 1 m 3 m 1 m 0.5 m 3 /ms 0.3 m 3 /ms 0.6 m 3 /ms 1 1 3 1.2 java 2 1. 2. 3. 4. 3 2 1.3 i =1, 2, 3 V i (t) 1 t h i (t) i F, k

More information

untitled

untitled + From Tradeoffs of Receive and Transmit Equalization Architectures, ICC006,Bryan Casper, Intel Labs Transmitter Receiver 0 magnitude (db) 0 0 30 40 50 60 0 4 frequency (GHz). Receiver Transmitter FFE

More information

Smalltalk_

Smalltalk_ DLLCC VisualWorks C Mac OS SSK-LampControl/ VisualWorksWithJun SSK-LampControl.h include SSK SSK FileBrowser SSK-LampControl.st FIle in SSK-LampControl File in SSK File in ( Smalltalk.SSK) ( C ) Controller

More information

double float

double float 2015 3 13 1 2 2 3 2.1.......................... 3 2.2............................. 3 3 4 3.1............................... 4 3.2 double float......................... 5 3.3 main.......................

More information

参考1 第2回自動車ワーキンググループ議事録(未定稿)

参考1		第2回自動車ワーキンググループ議事録(未定稿) 19 9 25 15 30 17 30 10 1012 2 WG 9 10 1 WG 1 CO2 CO2 CO2 WG 1 CO2 CO2 CO2 1/2 1/2 CO2 2 2 CO2 2 WG CO2 1 2 3 7 3 3 3 WG CO CO 10 1.5 50 50 2 1 1 CO 2 CO 4 CO CO 2 2 p.4 7 7 1 7 1 1 5 p.7 2 1 1 1.5 2 1

More information

C

C C 1 2 1.1........................... 2 1.2........................ 2 1.3 make................................................ 3 1.4....................................... 5 1.4.1 strip................................................

More information

P P P P P P P P P P P P P

P P P P P P P P P P P P P P P P P P P P P P P P P P 1 (1) (2) (3) (1) (2) (3) 1 ( ( ) ( ) ( ) 2 ( 0563-00-0000 ( 090-0000-0000 ) 052-00-0000 ( ) ( ) () 1 3 0563-00-0000 3 [] g g cc [] [] 4 5 1 DV 6 7 1 DV 8 9 10 11 12 SD 13 .....

More information

子ども・子育て支援新制度 全国総合システム(仮称)に関するインターフェース仕様書 市町村・都道府県編(初版)

子ども・子育て支援新制度 全国総合システム(仮称)に関するインターフェース仕様書 市町村・都道府県編(初版) 1...1 1.1... 1 1.1.1... 1 1.2... 3 1.2.1... 3 1.2.2... 4 1.3... 5 1.4... 6 1.4.1... 6 (1) B11:...6 (2) B11:...8 1.4.2... 11 (1) B31:... 11 1.4.3... 12 (1) B21, B41:... 12 2... 14 2.1... 14 2.1.1... 14

More information

II 3 yacc (2) 2005 : Yacc 0 ~nakai/ipp2 1 C main main 1 NULL NULL for 2 (a) Yacc 2 (b) 2 3 y

II 3 yacc (2) 2005 : Yacc 0 ~nakai/ipp2 1 C main main 1 NULL NULL for 2 (a) Yacc 2 (b) 2 3 y II 3 yacc (2) 2005 : Yacc 0 ~nakai/ipp2 1 C 1 6 9 1 main main 1 NULL NULL 1 15 23 25 48 26 30 32 36 38 43 45 47 50 52 for 2 (a) 2 2 1 Yacc 2 (b) 2 3 yytext tmp2 ("") tmp2->next->word tmp2 yytext tmp2->next->word

More information

Program Design (プログラム設計)

Program Design  (プログラム設計) 7. モジュール化設計 内容 : モジュールの定義モジュールの強度又は結合力モジュール連結モジュールの間の交信 7.1 モジュールの定義 プログラムモジュールとは 次の特徴を持つプログラムの単位である モジュールは 一定の機能を提供する 例えば 入力によって ある出力を出す モジュールは 同じ機能仕様を実装しているほかのモジュールに置き換えられる この変化によって プログラム全体に影響をあまり与えない

More information

K227 Java 2

K227 Java 2 1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html

More information

橡Pro PDF

橡Pro PDF 1 void main( ) char c; /* int c; */ int sum=0; while ((c = getchar())!= EOF) if(isdigit(c) ) sum += (c-'0'); printf("%d\n", sum); main()int i,sum=0; for(i=0;i

More information

106 NPO CS CS NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO CS NPO NPO NPO NPO

106 NPO CS CS NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO CS NPO NPO NPO NPO 105 NPO NPO NPO NPO 106 NPO CS CS NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO NPO CS NPO NPO NPO NPO IIHOE CANPAN CANPAN IIHOE NPO NPO 107 108 NPO A B NPO 109 WEB WEB IIHOE NPO NPO NPO NPO.

More information

2.2 Java C main Java main 2 C 6 C Java 3 C Java ( ) G101Hello.java G101Hello main G101Hello.java /* G101Hello */ class G101Hello { /* main */ public s

2.2 Java C main Java main 2 C 6 C Java 3 C Java ( ) G101Hello.java G101Hello main G101Hello.java /* G101Hello */ class G101Hello { /* main */ public s 2 2013 4 16 2.1............................... 2 1 2.2 Java......................... 2 2 2.3............. 2 2 2.4................................ 2 4 2.5............................ 2 5 2.6............................

More information

MPI usage

MPI usage MPI (Version 0.99 2006 11 8 ) 1 1 MPI ( Message Passing Interface ) 1 1.1 MPI................................. 1 1.2............................... 2 1.2.1 MPI GATHER.......................... 2 1.2.2

More information

Microsoft PowerPoint - 計算機言語 第7回.ppt

Microsoft PowerPoint - 計算機言語 第7回.ppt 計算機言語第 7 回 長宗高樹 目的 関数について理解する. 入力 X 関数 f 出力 Y Y=f(X) 関数の例 関数の型 #include int tasu(int a, int b); main(void) int x1, x2, y; x1 = 2; x2 = 3; y = tasu(x1,x2); 実引数 printf( %d + %d = %d, x1, x2, y);

More information

Microsoft PowerPoint Java基本技術PrintOut.ppt [互換モード]

Microsoft PowerPoint Java基本技術PrintOut.ppt [互換モード] 第 3 回 Java 基本技術講義 クラス構造と生成 33 クラスの概念 前回の基本文法でも少し出てきたが, オブジェクト指向プログラミングは という概念をうまく活用した手法である. C 言語で言う関数に似ている オブジェクト指向プログラミングはこれら状態と振る舞いを持つオブジェクトの概念をソフトウェア開発の中に適用し 様々な機能を実現する クラス= = いろんなプログラムで使いまわせる 34 クラスの概念

More information