Submission #00010
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #include<stdio.h> #include<string.h> signed main() { char str1[100]; char str2[100]; scanf ( "%s %s" ,str1,str2); int i; int j; for ( i = 0; i < strlen (str1); ++i ){ for ( j = 0; j < strlen (str2); ++j ){ if ( str1[i] == str2[j] ) str2[j] = '-' ; } } strcat ( str1 , str2 ); printf ( "%s\n" ,str1); return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0003 - メモ |
ユーザー名 | もけ |
投稿日時 | 2019-05-29 16:31:16 |
言語 | C++ |
状態 | Wrong Answer |
得点 | 0 |
ソースコード長 | 361 Byte |
最大実行時間 | 29 ms |
最大メモリ使用量 | 620 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 0 / 2 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
in1-1.text | AC | 27 ms | 476 KB |
1
|
in1-2.text | AC | 23 ms | 588 KB |
1
|
in1-3.text | AC | 23 ms | 572 KB |
1
|
in1-4.text | AC | 19 ms | 548 KB |
1
|
in1-5.text | WA | 24 ms | 536 KB |
1
|
in1-6.text | AC | 22 ms | 520 KB |
1
|
in1-7.text | AC | 29 ms | 620 KB |
1
|