回答編集履歴
1
コード修正
test
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
- for(n=0;(scanf("%s %s %d",firstname[n],familyname[n],&score[n])>0);n++){
|
12
12
|
|
13
|
-
+ for (n = 0; scanf("%s%s%d%d%d%d",firstname[n],familyname[n],
|
13
|
+
+ for (n = 0; scanf("%s%s%d%d%d%d", firstname[n], familyname[n],
|
14
14
|
|
15
15
|
+ s, s+1, s+2, s+3) == 6; n++) {
|
16
16
|
|