Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

added 20 characters in body
Source Link
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89

Go, (削除) 173 (削除ここまで)(削除) 162 (削除ここまで)(削除) 150 (削除ここまで) (削除) 145 (削除ここまで) (削除) 132 (削除ここまで) 129(削除) 129 (削除ここまで) 124 bytes

-5 bytes thanks to sudee.

I feel like I don't see enough Go here... But my answer is topping C so... pls halp golf?

package main
import(."fmt"
."time")
func main(){s:=".... ";for{Print("\r["+s+"]");Sleep(Duration(1000000001e8));s=(s+s)[9:19];}}

Try it online! Try it online!

Go, (削除) 173 (削除ここまで)(削除) 162 (削除ここまで)(削除) 150 (削除ここまで) (削除) 145 (削除ここまで) (削除) 132 (削除ここまで) 129 bytes

I feel like I don't see enough Go here... But my answer is topping C so... pls halp golf?

package main
import(."fmt"
."time")
func main(){s:=".... ";for{Print("\r["+s+"]");Sleep(Duration(100000000));s=(s+s)[9:19];}}

Try it online!

Go, (削除) 150 (削除ここまで) (削除) 145 (削除ここまで) (削除) 132 (削除ここまで) (削除) 129 (削除ここまで) 124 bytes

-5 bytes thanks to sudee.

I feel like I don't see enough Go here... But my answer is topping C so... pls halp golf?

package main
import(."fmt"
."time")
func main(){s:=".... ";for{Print("\r["+s+"]");Sleep(Duration(1e8));s=(s+s)[9:19];}}

Try it online!

added 9 characters in body
Source Link
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89

Go, (削除) 173 (削除ここまで) (削除) 162 (削除ここまで) (削除) 150 (削除ここまで) (削除) 145 (削除ここまで) 132(削除) 132 (削除ここまで) 129 bytes

I feel like I don't see enough Go here... But my answer is topping C so... pls halp golf?

package main
import(."fmt"
."time")
func main(){s:=".... ";for{Print("\r["+s+"]");Sleep(Duration(100000000));s=s[9:10]+s[;s=(s+s)[9:9];19];}}

Try it online! Try it online!

Go, (削除) 173 (削除ここまで) (削除) 162 (削除ここまで) (削除) 150 (削除ここまで) (削除) 145 (削除ここまで) 132 bytes

I feel like I don't see enough Go here... But my answer is topping C so... pls halp golf?

package main
import(."fmt"
."time")
func main(){s:=".... ";for{Print("\r["+s+"]");Sleep(Duration(100000000));s=s[9:10]+s[:9];}}

Try it online!

Go, (削除) 173 (削除ここまで) (削除) 162 (削除ここまで) (削除) 150 (削除ここまで) (削除) 145 (削除ここまで) (削除) 132 (削除ここまで) 129 bytes

I feel like I don't see enough Go here... But my answer is topping C so... pls halp golf?

package main
import(."fmt"
."time")
func main(){s:=".... ";for{Print("\r["+s+"]");Sleep(Duration(100000000));s=(s+s)[9:19];}}

Try it online!

deleted 15 characters in body
Source Link
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89

Go, (削除) 173 (削除ここまで) (削除) 162 (削除ここまで) (削除) 150 (削除ここまで) 145(削除) 145 (削除ここまで) 132 bytes

I feel like I don't see enough Go here... But my answer is topping C so... pls halp golf?

package main
import(."fmt"
."time")
func main(){s:=".... ";l:=len(s);for";for{Print("\r["+s+"]");Sleep(Duration(100000000));s=s[l-1;s=s[9:l]+s[10]+s[:l-1];9];}}

Try it online! Try it online!

Go, (削除) 173 (削除ここまで) (削除) 162 (削除ここまで) (削除) 150 (削除ここまで) 145 bytes

I feel like I don't see enough Go here... But my answer is topping C so... pls halp golf?

package main
import(."fmt"
."time")
func main(){s:=".... ";l:=len(s);for{Print("\r["+s+"]");Sleep(Duration(100000000));s=s[l-1:l]+s[:l-1];}}

Try it online!

Go, (削除) 173 (削除ここまで) (削除) 162 (削除ここまで) (削除) 150 (削除ここまで) (削除) 145 (削除ここまで) 132 bytes

I feel like I don't see enough Go here... But my answer is topping C so... pls halp golf?

package main
import(."fmt"
."time")
func main(){s:=".... ";for{Print("\r["+s+"]");Sleep(Duration(100000000));s=s[9:10]+s[:9];}}

Try it online!

deleted 6 characters in body
Source Link
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89
Loading
deleted 8 characters in body
Source Link
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89
Loading
deleted 13 characters in body
Source Link
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89
Loading
added 50 characters in body
Source Link
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89
Loading
Source Link
totallyhuman
  • 17.4k
  • 3
  • 34
  • 89
Loading

AltStyle によって変換されたページ (->オリジナル) /