結果
問題 |
No.3035 文字列のみの反転
|
ユーザー |
![]() |
提出日時 | 2025-02-28 21:33:35 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 192 bytes |
コンパイル時間 | 12,878 ms |
コンパイル使用メモリ | 238,120 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2025-02-28 21:33:50 |
合計ジャッジ時間 | 13,516 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
package main import . "fmt" import . "strings" import sc "slices" func main() { var s string Scan(&s) t:=Trim(s,"0123456789") b:=[]byte(t) sc.Reverse(b) Println(string(b)+s[len(t):]) }