回答編集履歴

1

コードの修正

2020/11/22 18:13

投稿

kazuma-s
kazuma-s

スコア8224

test CHANGED
@@ -8,11 +8,11 @@
8
8
 
9
9
  - e = a/400
10
10
 
11
- + c = (year-1)/4 - (1900-1)/4;
11
+ + c = (a+3)/4;
12
12
 
13
- + d = (year-1)/100 - (1900-1)/100;
13
+ + d = (a+99)/100;
14
14
 
15
- + e = (year-1)/400 - (1900-1)/400;
15
+ + e = (a+299)/400;
16
16
 
17
17
  ```
18
18