質問編集履歴

2

コード修正

2016/03/12 10:09

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -34,6 +34,10 @@
34
34
 
35
35
  end
36
36
 
37
+
38
+
39
+ return false
40
+
37
41
  end
38
42
 
39
43
  end

1

コード修正

2016/03/12 10:09

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  def checkYear?(n)
14
14
 
15
- if n%4 == 0 && n%100 == 0 && n%400 == 0
15
+ if n%400 == 0
16
16
 
17
17
  return true
18
18