83 1
84 1
85 1
86 1
87 1
88 1
89 1
90 1
91 1
92 1
93 1
94 1
95 1
96 1
97 1
98 1
99 1
100 1
101 1
102 1
103 1
104 1
105 1
106 1
107 1
108 1
109 1
110 1
111 1
112 1
113 1
114 1
115 1
116 1
249189705
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
1 116
2 58
3 38
4 29
5 23
6 19
7 16
8 14
9 12
10 11
11 10
12 9
13 8
14 8
15 7
16 7
17 6
18 6
19 6
20 5
21 5
22 5
23 5
24 4
25 4
26 4
27 4
28 4
29 4
30 3
31 3
32 3
33 3
34 3
35 3
36 3
37 3
38 3
39 2
40 2
41 2
42 2
43 2
44 2
45 2
46 2
47 2
48 2
49 2
50 2
51 2
52 2
53 2
54 2
55 2
56 2
57 2
58 2
59 1
60 1
61 1
62 1
63 1
64 1
65 1
66 1
67 1
68 1
69 1
70 1
71 1
72 1
73 1
74 1
75 1
76 1
77 1
78 1
79 1
80 1
81 1
82 1
83 1
84 1
85 1
86 1
87 1
88 1
89 1
90 1
91 1
92 1
93 1
94 1
95 1
96 1
97 1
98 1
99 1
100 1
101 1
102 1
103 1
104 1
105 1
106 1
107 1
108 1
109 1
110 1
111 1
112 1
113 1
114 1
115 1
116 1
249189705
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
1 116
2 58
3 38
4 29
5 23
6 19
7 16
8 14
9 12
10 11
11 10
12 9
13 8
14 8
15 7
16 7
17 6
18 6
19 6
20 5
21 5
22 5
23 5
24 4
25 4
26 4
27 4
28 4
29 4
30 3
31 3
32 3
33 3
34 3
35 3
36 3
37 3
38 3
39 2
40 2
41 2
42 2
43 2
44 2
45 2
46 2
47 2
48 2
49 2
50 2
51 2
52 2
53 2
54 2
55 2
56 2
57 2
58 2
59 1
60 1
61 1
62 1
63 1
64 1
65 1
66 1
67 1
68 1
69 1
70 1
71 1
72 1
73 1
74 1
75 1
76 1
77 1
78 1
79 1
80 1
81 1
82 1
83 1
84 1
85 1
86 1
87 1
88 1
89 1
90 1
91 1
92 1
93 1
94 1
95 1
96 1
97 1
98 1
99 1
100 1
101 1
102 1
103 1
104 1
105 1
106 1
107 1
108 1
109 1
110 1
111 1
112 1
113 1
114 1
115 1
116 1
249189705
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
1 116
2 58
3 38
4 29
5 23
6 19
7 16
8 14
9 12
10 11
11 10
12 9
13 8
14 8
15 7
16 7
17 6
18 6
19 6
20 5
21 5
22 5
23 5
24 4
25 4
26 4
27 4
28 4
29 4
30 3
31 3
32 3
33 3
34 3
35 3
36 3
37 3
38 3
39 2
40 2
41 2
42 2
43 2
44 2
45 2
46 2
47 2
48 2
49 2
50 2
51 2
52 2
53 2
54 2
55 2
56 2
57 2
58 2
59 1
60 1
61 1
62 1
63 1
64 1
65 1
66 1
67 1
68 1
69 1
70 1
71 1
72 1
73 1
74 1
75 1
76 1
77 1
78 1
79 1
80 1
81 1
82 1
83 1
84 1
85 1
86 1
87 1
88 1
89 1
90 1
91 1
92 1
93 1
94 1
95 1
96 1
97 1
98 1
99 1
100 1
101 1
102 1
103 1
104 1
105 1
106 1
107 1
108 1
109 1
110 1
111 1
112 1
113 1
114 1
115 1
116 1
-625724336
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
1 116
2 58
3 38
4 29
5 23
6 19
7 16
8 14
9 12
10 11
11 10
12 9
13 8
14 8
15 7
16 7
17 6
18 6
19 6
20 5
21 5
22 5
23 5
24 4
25 4
26 4
27 4
28 4
29 4
30 3
31 3
32 3
33 3
34 3
35 3
36 3
37 3
38 3
39 2
40 2
41 2
42 2
43 2
44 2
45 2
46 2
47 2
48 2
49 2
50 2
51 2
52 2
53 2
54 2
55 2
56 2
57 2
58 2
59 1
60 1
61 1
62 1
63 1
64 1
65 1
66 1
67 1
68 1
69 1
70 1
71 1
72 1
73 1
74 1
75 1
76 1
77 1
78 1
79 1
80 1
81 1
82 1
83 1
84 1
85 1
86 1
87 1
88 1
89 1
90 1
91 1
92 1
93 1
94 1
95 1
96 1
97 1
98 1
99 1
100 1
101 1
102 1
103 1
104 1
105 1
106 1
107 1
108 1
109 1
110 1
111 1
112 1
113 1
114 1
115 1
116 1
-625724336
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
-291172004
-582344008
-873516012
-164688009
-455860013
-747032017
-38204014
-329376018
-620548022
-911720026
-202892023
-494064027
-785236031
-76408028
-367580032
-658752036
-949924040
-241096037
-532268041
-823440045
-114612042
-405784046
-696956050
-988128054
-279300051
-570472055
-861644059
-152816056
-443988060
-735160064
-26332061
-317504065
-608676069
-899848073
-191020070
-482192074
-773364078
-64536075
483513778
435817610
980181106
764977263
489710579
587275147
522837379
889042763
597870759
306698755
15526751
-275645253
-566817257
-857989261
-149161258
-440333262
-731505266
-22677263
-313849267
-605021271
234026498
278570048
180684551
504447044
498481193
47598837
550172817
443640026
303099204
870953329
42603968
737935050
734378732
928346252
131379372
399147175
39007852
848921507
810640481
396971353
860116948
349275185
464473490
893638681
104767971
678434838
771384972
403168154
758383033
500732722
205346756
436294954
730667935
802500338
652906039
970594268
233242461
278464978
807145289
314929521
324199704
33027700
-258144304
-549316308
-840488312
-131660309
-422832313
-714004317
-5176314
-296348318
-587520322
-878692326
-169864323
-461036327
-752208331
-43380328
-334552332
-625724336
-625724336
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C_sample.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
795526989
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
3
59049
60072
118097
118097
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
-291172004
-582344008
-873516012
-164688009
-455860013
-747032017
-38204014
-329376018
-620548022
-911720026
-531434284
-313252900
-417115154
-753329941
-39148288
-229872552
182489812
34047122
-195397933
82570878
-399524163
462856620
-16813570
-540848930
-308106668
-644711184
-276929256
19074036
-321081231
356832280
-426555769
199001280
244739567
-388636363
-50351499
462920954
-261372097
233475899
-218474255
733829584
278194097
62989230
787723577
885287121
820850377
187054730
355149684
-336980630
-300515063
-104238368
75381734
-440842884
-412259899
-73060956
-723952633
222942336
-302506011
-117212931
-278165176
-233621619
-331507075
-7744623
-13710473
-464592830
-962018984
-68551641
-209092422
-641238345
-469587834
-774256624
-777812829
-583845422
-380812278
-113044492
-473183726
-663270167
-701551632
-115220314
-652074245
-162916482
-47718144
-618551969
-407423431
-833756836
-740805781
-109022489
-753809200
-11458945
-306843710
-75895689
-781524706
-709691336
-859283738
-541596382
-278953237
-233726689
-705048496
-197261122
-187988402
-984427
883979305
178635675
669743771
662411064
516920539
690994049
949602465
30192985
56173460
379301315
305899941
326196277
24169210
800747937
899631132
986041017
986041017
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
986041017
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
795526989
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
C.cpp:23:9: error: use of undeclared identifier 'sqrt'
    M = sqrt(N);
        ^
1 error generated.
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
1
1
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
795526989
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C_faster.cpp.cpp
clang: error: no such file or directory: 'C_faster.cpp.cpp'
clang: error: no input files
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C_faster.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
721897211
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C_faster.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
3
118097
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C_faster.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
974060680
179519979
620771793
588852123
376523982
121456446
502236232
12754519
587322684
721897211
721897211
\ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
10
999999866
979419900
345271921
345271921
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
10
346320498
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C_faster.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
3
118097
118097
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
974060680
180566507
48077469
738907240
149820194
532479623
421101485
-526231260
-156235655
364571444
364571444
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C_faster.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
974060680
179521003
976206261
243728733
282539750
348352566
616643457
103068050
947002272
332949879
332949879
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ g++ C_faster.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
3
118097
118097
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ ./a.out
116
974060680
179522026
35624877
604185049
440962395
245251713
652425171
259051628
293049303
937804826
937804826
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ cd ../D
DISCO_181123/  Dwango_181124/
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/DISCO_181123$ cd ../Dwango_181124/
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ g++ A.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
3
1 2 3
0
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ g++ A.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
3
1 2 3
1
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
4
2 5 2 5
0
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ g++ A.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
4
2 5 2 5
0
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
4
100 100 100 100
0
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
4
10 100 10 45
3
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
4
1 1 1 1
0
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ g++ A.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
4
2 5 2 5
0
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ g++ A.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
4
2 5 2 5
3.44146e+07
3.44146e+07
3.44146e+07
3.44146e+07
0
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
10
34
66
87
2
45
66
7
99
8
77
1.49299e+07
1.49299e+07
1.49299e+07
1.493e+07
1.49299e+07
1.49299e+07
1.493e+07
1.49299e+07
1.493e+07
1.49299e+07
0
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ g++ A.cpp
\ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
10
34
66
87
2
45
66
7
99
8
77
mean : 2.14561e+07
0
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ g++ A.cpp
\ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
34
66
87
2
45
66
7
99
8
77

^[^C
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
10
34
66
87
2
45
66
7
99
8
77
sum : 187527659
mean : 1.87528e+07
0
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ g++ A.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
10
34
66
87
2
45
66
7
99
8
77
sum : 491
mean : 49
4
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ g++ A.cpp
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$ ./a.out
10
34
66
87
2
45
66
7
99
8
77
4
ryunagai@RyutaronoMacBook-puro:~/Documents/github/Atcoder/Dwango_181124$