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

Timeline for Output the largest number with the fewest digits

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited Community Bot
Commonmark migration
Sep 17, 2016 at 21:29 comment added Kevin Cruijssen @Barteks2x Thanks, I've edited it.
Sep 17, 2016 at 21:29 history edited Kevin Cruijssen CC BY-SA 3.0
-8 bytes thanks to @Barteks2x
Sep 17, 2016 at 20:40 comment added barteks2x shorter version: int c(int[]a){int i=a[0],j;for(int b:a)i=(j=(i+"").length()-(b+"").length())>0?b:b>i&j==0?b:i;return i;}
Sep 16, 2016 at 7:15 history answered Kevin Cruijssen CC BY-SA 3.0

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