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 Revisions

7 of 7
deleted 250 characters in body
Oliver
  • 7.9k
  • 2
  • 19
  • 38

Japt, (削除) 10 (削除ここまで) 7 bytes

Saved 3 bytes thanks to @Luke and @ETHproductions

*8Ä ¬v1

Try it online!

###Explanation: *8Ä ¬v1 ¬ // Square root of: *8 // Input * 8 Ä // +1 v1 // Return 1 if divisible by 1; Else, return 0


õ å+ øU

###Explanation: õ å+ øU õ // Create a range from [1...Input] å+ // Cumulative reduce by addition øU // Does it contain the input?

Try it online!

Oliver
  • 7.9k
  • 2
  • 19
  • 38

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