質問編集履歴
1
文字間違いの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,21 +26,21 @@
|
|
26
26
|
import java.io.Serializable;
|
27
27
|
|
28
28
|
public class Mathma implements Serializable {
|
29
|
-
private int char
|
29
|
+
private int charange, per, nper, win;
|
30
30
|
|
31
31
|
private double answer;
|
32
32
|
|
33
33
|
|
34
34
|
|
35
|
-
public int getChar
|
35
|
+
public int getCharange() {
|
36
|
-
|
36
|
+
|
37
|
-
return char
|
37
|
+
return charange;
|
38
|
-
|
38
|
+
|
39
|
-
}
|
39
|
+
}
|
40
|
-
|
40
|
+
|
41
|
-
public void setChar
|
41
|
+
public void setCharange(int charange) {
|
42
|
-
|
42
|
+
|
43
|
-
this.char
|
43
|
+
this.charange = charange;
|
44
44
|
}
|
45
45
|
|
46
46
|
public int getWin() {
|
@@ -109,7 +109,7 @@
|
|
109
109
|
|
110
110
|
int r = math.getWin();
|
111
111
|
|
112
|
-
int n = math.getChar
|
112
|
+
int n = math.getCharange();
|
113
113
|
|
114
114
|
long ans = 1;
|
115
115
|
|
@@ -178,7 +178,7 @@
|
|
178
178
|
Mathma math=new Mathma();
|
179
179
|
|
180
180
|
math.setWin(Integer.parseInt(win));
|
181
|
-
math.setChar
|
181
|
+
math.setCharange(Integer.parseInt(charange));
|
182
182
|
|
183
183
|
|
184
184
|
ProbilityLogic probilityLogic=new ProbilityLogic();
|