回答編集履歴

1

追加

2016/07/04 03:23

投稿

cateye
cateye

スコア6851

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  if (i == n / 2 || j == n / 2 || i == j || i + j == n - 1)は別関数にして
6
6
 
7
- int f( int i, int j ){
7
+ int f( int i, int j, int n ){
8
8
 
9
9
  return (i == n / 2 || j == n / 2 || i == j || i + j == n - 1) ;
10
10