Submission #00174
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #include<bits/stdc++.h> using namespace std; int main(){ while (1){ string r= "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" ; string s; cin>>s; if (s== "#" ){ return (0); } for ( int i=0; i<r.size(); i++){ for ( int j=0; j<s.size(); j++){ if (r[i]==s[j]){ cout<<s[j]; } } } cout<< "\n" ; } return (0); } |
ステータス
項目 | データ |
---|---|
問題 | 0005 - クレヨンの並べ替え |
ユーザー名 | e2329 |
投稿日時 | 2024-03-29 13:00:38 |
言語 | C++17 |
状態 | Accepted |
得点 | 20 |
ソースコード長 | 491 Byte |
最大実行時間 | 32 ms |
最大メモリ使用量 | 640 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 20 / 20 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
A1 | AC | 32 ms | 604 KB |
1
|
A2 | AC | 22 ms | 444 KB |
1
|
A3 | AC | 24 ms | 540 KB |
1
|
A4 | AC | 23 ms | 640 KB |
1
|