Language: C++

 ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test    
3 2
==========
K=2
min=1
max=3
sum=3
==========
K=3
min=3max=3
sum=1
==========
K=4
min=6
max=2
sum=-3
0
 ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test    
 3 2
==========
K=2
min=1
max=7
sum=7
==========
K=3
min=3
max=9
sum=7
==========
K=4
min=6
max=10
sum=5
0
 ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test    
 3 2
==========
K=2
min=1
max=7
sum=7
==========
K=3
min=3
max=9
sum=7
==========
K=4
min=6
max=10
sum=5
19
 ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test    
3 2
==========
K=2
min=1
max=7
sum=7
==========
==========
K=0
min=0
max=0
sum=1
9
 ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test    
 3 2
==========
K=2
min=1
max=7
sum=7
==========
==========
K=4
min=0
max=0
sum=1
9
 ~/Work/競プロ                                                                                                   
 ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test    
 3 2
==========
K=2
min=1
max=5
sum=5
==========
==========
K=4
min=0
max=0
sum=1
7
 ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test    
 3 2
==========
K=2
min=1
max=5
sum=5
==========
==========
K=4
min=0
max=0
sum=1
9
 ~/Work/競プロ                                                                                                   
 ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test    
 3 2
==========
==========
==========
9
 ~/Work/競プロ                                                                                                   
 ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test    
 3 2
==========
K=2
min=1
max=5
sum=5
==========
==========
8
 ~/Work/競プロ                                                                                                   
 ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test    
 3 2
==========
K=2
min=1
max=5
sum=5
==========
==========
10
 ~/Work/競プロ      cd AtCoder                                                                                   
 ~/Work/競プロ/AtCoder      python autoJudge/autojudge.py abc162 abc162_d                                        
Judging abc162/abc162_d...
testcase 1: AC
testcase 2: AC
result: AC
 ~/Work/競プロ/AtCoder      python autoJudge/autojudge.py abc163 abc163_d                                        
Judging abc163/abc163_d...
testcase 1: WA
 predicted:7
 result:10
testcase 2: AC
testcase 3: WA
 predicted:-88090270291057
 result:220280457
result: WA
 ~/Work/競プロ/AtCoder      python autoJudge/autojudge.py abc163 abc163_d                                        
Judging abc163/abc163_d...
testcase 1: WA
 predicted:7
 result:10
testcase 2: AC
testcase 3: WA
 predicted:-110303841145969
 result:220280457
result: WA
 ~/Work/競プロ/AtCoder      python autoJudge/autojudge.py abc163 abc163_d                                        
Judging abc163/abc163_d...
testcase 1: AC
testcase 2: AC
testcase 3: WA
 predicted:396749223057700
 result:220280457
result: WA
 ~/Work/競プロ/AtCoder      python autoJudge/autojudge.py abc163 abc163_d                                        
Judging abc163/abc163_d...
testcase 1: AC
testcase 2: AC
testcase 3: AC
result: AC
 ~/Work/競プロ/AtCoder                                                                                           

Compiler output:
a.cc:1:16: error: extended character  is not valid in an identifier
    1 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                ^
a.cc:1:19: error: extended character  is not valid in an identifier
    1 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                   ^
a.cc:1:22: error: extended character  is not valid in an identifier
    1 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                      ^
a.cc:1:115: error: extended character  is not valid in an identifier
    1 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                                                                                                                   ^
a.cc:18:16: error: extended character  is not valid in an identifier
   18 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                ^
a.cc:18:19: error: extended character  is not valid in an identifier
   18 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                   ^
a.cc:18:22: error: extended character  is not valid in an identifier
   18 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                      ^
a.cc:18:115: error: extended character  is not valid in an identifier
   18 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                                                                                                                   ^
a.cc:36:16: error: extended character  is not valid in an identifier
   36 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                ^
a.cc:36:19: error: extended character  is not valid in an identifier
   36 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                   ^
a.cc:36:22: error: extended character  is not valid in an identifier
   36 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                      ^
a.cc:36:115: error: extended character  is not valid in an identifier
   36 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                                                                                                                   ^
a.cc:54:16: error: extended character  is not valid in an identifier
   54 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                ^
a.cc:54:19: error: extended character  is not valid in an identifier
   54 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                   ^
a.cc:54:22: error: extended character  is not valid in an identifier
   54 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                      ^
a.cc:54:115: error: extended character  is not valid in an identifier
   54 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                                                                                                                   ^
a.cc:68:16: error: extended character  is not valid in an identifier
   68 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                ^
a.cc:68:19: error: extended character  is not valid in an identifier
   68 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                   ^
a.cc:68:22: error: extended character  is not valid in an identifier
   68 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                      ^
a.cc:68:115: error: extended character  is not valid in an identifier
   68 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                                                                                                                   ^
a.cc:82:16: error: extended character  is not valid in an identifier
   82 |  ~/Work/競プロ                                                                                                 
      |                ^
a.cc:82:19: error: extended character  is not valid in an identifier
   82 |  ~/Work/競プロ                                                                                                 
      |                   ^
a.cc:82:22: error: extended character  is not valid in an identifier
   82 |  ~/Work/競プロ                                                                                                 
      |                      ^
a.cc:82:115: error: extended character  is not valid in an identifier
   82 |  ~/Work/競プロ                                                                                                 
      |                                                                                                                   ^
a.cc:83:16: error: extended character  is not valid in an identifier
   83 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                ^
a.cc:83:19: error: extended character  is not valid in an identifier
   83 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                   ^
a.cc:83:22: error: extended character  is not valid in an identifier
   83 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                      ^
a.cc:83:115: error: extended character  is not valid in an identifier
   83 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                                                                                                                   ^
a.cc:97:16: error: extended character  is not valid in an identifier
   97 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                ^
a.cc:97:19: error: extended character  is not valid in an identifier
   97 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                   ^
a.cc:97:22: error: extended character  is not valid in an identifier
   97 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                      ^
a.cc:97:115: error: extended character  is not valid in an identifier
   97 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                                                                                                                   ^
a.cc:111:16: error: extended character  is not valid in an identifier
  111 |  ~/Work/競プロ                                                                                                 
      |                ^
a.cc:111:19: error: extended character  is not valid in an identifier
  111 |  ~/Work/競プロ                                                                                                 
      |                   ^
a.cc:111:22: error: extended character  is not valid in an identifier
  111 |  ~/Work/競プロ                                                                                                 
      |                      ^
a.cc:111:115: error: extended character  is not valid in an identifier
  111 |  ~/Work/競プロ                                                                                                 
      |                                                                                                                   ^
a.cc:112:16: error: extended character  is not valid in an identifier
  112 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                ^
a.cc:112:19: error: extended character  is not valid in an identifier
  112 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                   ^
a.cc:112:22: error: extended character  is not valid in an identifier
  112 |  ~/Work/競プロ      cd "/Users/mrmta/Work/競プロ/" && g++ test.cpp -o test && "/Users/mrmta/Work/競プロ/"test  
      |                      ^
a.cc:112:115: