質問編集履歴

1

問題の題意に加え、どの辺りを中心に答えていただきたいかについて記入しなおしました

2016/07/13 03:50

投稿

modonokouki
modonokouki

スコア26

test CHANGED
File without changes
test CHANGED
@@ -3,6 +3,44 @@
3
3
 
4
4
 
5
5
  上記のリンクの問題を考えていたのですがどの辺りにエラーが発生しているのかわからなくて困っているので良かったら見ていただきたいです。
6
+
7
+
8
+
9
+ 条件としては
10
+
11
+ Input
12
+
13
+ * Line 1: A single integer: N
14
+
15
+ * Lines 2..N+1: Line i+1 contains a single initial ('A'..'Z') of the cow in the ith position in the original line
16
+
17
+
18
+
19
+ 一番最初の行は文字列の個数
20
+
21
+ 次の行から一文字ずつ記入していく
22
+
23
+
24
+
25
+ Output
26
+
27
+
28
+
29
+ The least lexicographic string he can make. Every line (except perhaps the last one) contains the initials of 80 cows ('A'..'Z') in the new line.
30
+
31
+
32
+
33
+ そして80行ごとに改行を行う(おそらく)
34
+
35
+
36
+
37
+ エラーとしてはwrong answerとしか出ないのでコンパイルエラーや時間が足りないなどのエラーはないと考えています。
38
+
39
+
40
+
41
+ 終端文字の格納の仕方や題意に沿ってない部分がありましたら指摘いただきたいです
42
+
43
+
6
44
 
7
45
 
8
46