Submission #00013
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #include<stdio.h> #include<string.h> signed main(){ int a,b,c,i,j,n; char str1[80],str2[40]; scanf ( "%s %s" ,str1,str2); int s1= strlen (str1); int s2= strlen (str2); for (i=0;i<s1;i++){ for (j=0;j<s2;j++){ if (str1[i]==str2[j]){ str2[j]= '-' ; } } } strcat (str1,str2); printf ( "%s\n" ,str1); return (0); } |
ステータス
項目 | データ |
---|---|
問題 | 0003 - メモ |
ユーザー名 | ei1903 |
投稿日時 | 2019-05-29 16:48:35 |
言語 | C |
状態 | Wrong Answer |
得点 | 0 |
ソースコード長 | 357 Byte |
最大実行時間 | 23 ms |
最大メモリ使用量 | 560 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 0 / 2 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in1-1.text | AC | 20 ms | 376 KB |
1
|
in1-2.text | AC | 18 ms | 428 KB |
1
|
in1-3.text | AC | 23 ms | 456 KB |
1
|
in1-4.text | AC | 21 ms | 508 KB |
1
|
in1-5.text | WA | 18 ms | 560 KB |
1
|
in1-6.text | AC | 16 ms | 396 KB |
1
|
in1-7.text | AC | 19 ms | 440 KB |
1
|