☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
d2jsp Forums
>
Off-Topic
>
International
>
Magyar
> Mekprogramozzuk Topic
Prev
1
196
197
198
199
200
249
Next
Add Reply
New Topic
New Poll
Views: 72822
Replies: 2481
Track Topic
Jason89
Member
Posts: 4,795
Joined: Apr 26 2007
Gold
:
289.00
#1971
Dec 16 2016 01:44pm
Ahaaaa!
Code
*
|
+-|---+
/ | /|
+-----+ |
|:::::| | 25
+----+ |:::::| |---+ +-----------+ 24
/ / \ |:::::| | /| / \\\\\\ [] /| 23
/ / / \|:::::| | / | / \\\\\\ [] / | 22
/ / / / \:::::|/ / | +-----------+ | 21
+----+ / / / \------+ ------|:::::::::::| | 20
|-----\ / / / \=====| ------|:::::::::::| | 19
|------\ / / / \====| | |:::::::::::| | 18
|-------\ / / / +===| | |:::::::::::| | 17
|--------\ / / /|===| | |:::::::::::| | 16 **
|---------\ / / |===| | /|:::::::::::| | 15 **
|----------\ / |===| / //|:::::::::::| / 14 **
+-----------+ |===| / //||:::::::::::|/ 13 **
|:::::::::::| |===|/__//___________________ 12 **
|:::::::::::| |______//|_____...._________ 11 **
|:::::::::::| | //| ____/ /_/___ 10 **
---|:::::::::::| |--------|[][]|_|[][]_\------ 9 **
----|:::::::::::| |--------------------------- 8 **
|| |:::::::::::| | //| || / / / || || 7 **
|| |:::::::::::| | //| || / / || * || 6 **
|:::::::::::| |//| / / / ><< 5 **
|:::::::::::| //| / / ___>>><<____ 4 **
|:::::::::::| //| / / / / >>><<<< / 3 **
|:::::::::::| //| / / / _| |_ / 2 **
|:::::::::::|//| / / / /___________/ 1 **
==============//======+...+====================
- - - - - - -// - - -/ / - - - - - - - - - -
==============//|==============================
//|
Jason89
Member
Posts: 4,795
Joined: Apr 26 2007
Gold
:
289.00
#1972
Dec 17 2016 02:16am
Quote (Jason89 @ 16 Dec 2016 20:41)
#1:
http://pastebin.com/fR7WxVqq
#2:
http://pastebin.com/gM5MxeGN
#3:
http://pastebin.com/kHCWMH4v
#4:
http://pastebin.com/KttBGk9h
#5:
http://pastebin.com/HZq0g24m
#6:
http://pastebin.com/sDdB8crf
#7:
http://pastebin.com/hN6TnK23
#8:
http://pastebin.com/reaaxqHF
#9:
http://pastebin.com/g7zP0KHp
#10:
http://pastebin.com/0dGiX3qR
#11:
http://pastebin.com/X7f21ngV
|
http://pastebin.com/LkQsLJtW
|
http://pastebin.com/F94StciK
#12:
http://pastebin.com/NXPdxLg2
#13:
http://pastebin.com/u5mVRn7f
#14:
http://pastebin.com/Gk5RVmL5
#15:
http://pastebin.com/mRR5tyrr
#16:
http://pastebin.com/nSwe3E5Q
#17:
http://pastebin.com/NvvuNFt6
Poén kis feladat volt. A második rész megoldása most copy-paste segítségével történt. Nem szép dolog, de ez van.
Jason89
Member
Posts: 4,795
Joined: Apr 26 2007
Gold
:
289.00
#1973
Dec 18 2016 03:05am
Quote (Jason89 @ 17 Dec 2016 09:16)
#1:
http://pastebin.com/fR7WxVqq
#2:
http://pastebin.com/gM5MxeGN
#3:
http://pastebin.com/kHCWMH4v
#4:
http://pastebin.com/KttBGk9h
#5:
http://pastebin.com/HZq0g24m
#6:
http://pastebin.com/sDdB8crf
#7:
http://pastebin.com/hN6TnK23
#8:
http://pastebin.com/reaaxqHF
#9:
http://pastebin.com/g7zP0KHp
#10:
http://pastebin.com/0dGiX3qR
#11:
http://pastebin.com/X7f21ngV
|
http://pastebin.com/LkQsLJtW
|
http://pastebin.com/F94StciK
#12:
http://pastebin.com/NXPdxLg2
#13:
http://pastebin.com/u5mVRn7f
#14:
http://pastebin.com/Gk5RVmL5
#15:
http://pastebin.com/mRR5tyrr
#16:
http://pastebin.com/nSwe3E5Q
#17:
http://pastebin.com/NvvuNFt6
#18:
http://pastebin.com/thC2NExD
Elsőre kicsit tartottam attól a 400 000-res limittől, de elég gyorsan lefutott. Pedig lehetne még hova optimalizálni.
Közben új skin-t kaptunk, mindjárt postolom, csak be kell lőni a lynx-et.
Jason89
Member
Posts: 4,795
Joined: Apr 26 2007
Gold
:
289.00
#1974
Dec 18 2016 03:08am
Fel lett díszítve a fenyő.
Code
*
|
+-|---+
/ | /|
+-----+ |
|:::::| | 25
+----+ |:::::| |---+ +-----------+ 24
/ / \ |:::::| | /| / \\\\\\ [] /| 23
/ / / \|:::::| | / | / \\\\\\ [] / | 22
/ / / / \:::::|/ / | +-----------+ | 21
+----+ / / / \------+ ------|:::::::::::| | 20
|-----\ / / / \=====| ------|:::::::::::| | 19
|------\ / / / \====| | |:::::::::::| | 18 **
|-------\ / / / +===| | |:::::::::::| | 17 **
|--------\ / / /|===| | |:::::::::::| | 16 **
|---------\ / / |===| | /|:::::::::::| | 15 **
|----------\ / |===| / //|:::::::::::| / 14 **
+-----------+ |===| / //||:::::::::::|/ 13 **
|:::::::::::| |===|/__//___________________ 12 **
|:::::::::::| |______//|_____...._________ 11 **
|:::::::::::| | //| ____/ /_/___ 10 **
---|:::::::::::| |--------|[][]|_|[][]_\------ 9 **
----|:::::::::::| |--------------------------- 8 **
|| |:::::::::::| | //| || / / / || || 7 **
|| |:::::::::::| | //| || / / || * || 6 **
|:::::::::::| |//| / / / >o< 5 **
|:::::::::::| //| / / ___>@>O<____ 4 **
|:::::::::::| //| / / / / >O>o<@< / 3 **
|:::::::::::| //| / / / _| |_ / 2 **
|:::::::::::|//| / / / /___________/ 1 **
==============//======+...+====================
- - - - - - -// - - -/ / - - - - - - - - - -
==============//|==============================
//|
Anarkin
Member
Posts: 53,925
Joined: Apr 15 2007
Gold
:
11,500.00
Trader:
Trusted
#1975
Dec 18 2016 06:16am
Advent18
Quote (Jason89 @ 18 Dec 2016 10:05)
#18:
http://pastebin.com/thC2NExD
Elsőre kicsit tartottam attól a 400 000-res limittől, de elég gyorsan lefutott. Pedig lehetne még hova optimalizálni. :D
Közben új skin-t kaptunk, mindjárt postolom, csak be kell lőni a lynx-et.
igazából annyi a rule, hogy L != R
ezek után meg elkapott a golfozhatnék
This post was edited by Anarkin on Dec 18 2016 06:20am
Anarkin
Member
Posts: 53,925
Joined: Apr 15 2007
Gold
:
11,500.00
Trader:
Trusted
#1976
Dec 18 2016 07:19am
Advent16
ez F#-ban szebb lenne
Jason89
Member
Posts: 4,795
Joined: Apr 26 2007
Gold
:
289.00
#1977
Dec 18 2016 08:57am
Quote (Anarkin @ 18 Dec 2016 13:16)
Advent18
igazából annyi a rule, hogy L != R
ezek után meg elkapott a golfozhatnék
http://i.imgur.com/gZMqDLC.png
http://i.imgur.com/XHgHm2D.png
Nem kezdtem el szarakodni vele, mert elég gyorsan lefutott.
A #11 viszont olyan volt, ahol minden cselt be kellett vetni, mert nem igazán akart terminálni.
Jason89
Member
Posts: 4,795
Joined: Apr 26 2007
Gold
:
289.00
#1978
Dec 19 2016 02:26am
Quote (Jason89 @ 18 Dec 2016 10:05)
#1:
http://pastebin.com/fR7WxVqq
#2:
http://pastebin.com/gM5MxeGN
#3:
http://pastebin.com/kHCWMH4v
#4:
http://pastebin.com/KttBGk9h
#5:
http://pastebin.com/HZq0g24m
#6:
http://pastebin.com/sDdB8crf
#7:
http://pastebin.com/hN6TnK23
#8:
http://pastebin.com/reaaxqHF
#9:
http://pastebin.com/g7zP0KHp
#10:
http://pastebin.com/0dGiX3qR
#11:
http://pastebin.com/X7f21ngV
|
http://pastebin.com/LkQsLJtW
|
http://pastebin.com/F94StciK
#12:
http://pastebin.com/NXPdxLg2
#13:
http://pastebin.com/u5mVRn7f
#14:
http://pastebin.com/Gk5RVmL5
#15:
http://pastebin.com/mRR5tyrr
#16:
http://pastebin.com/nSwe3E5Q
#17:
http://pastebin.com/NvvuNFt6
#18:
http://pastebin.com/thC2NExD
#19:
http://pastebin.com/bq98Hm3T
Anarkin
Member
Posts: 53,925
Joined: Apr 15 2007
Gold
:
11,500.00
Trader:
Trusted
#1979
Dec 19 2016 02:18pm
Advent19/1
Part2-höz még idő kell
Anarkin
Member
Posts: 53,925
Joined: Apr 15 2007
Gold
:
11,500.00
Trader:
Trusted
#1980
Dec 19 2016 03:21pm
Advent19/2
ez is O(1) idejű lett... Excel-ben :-)
1. kép: participant/winner párok -- itt már látszik is egy pattern
2. kép: ezután ütni a formulákat egy darabig, kijön 3 partíció
a változóneveket nevermind, csak lekövettem C#-ban az excel-t
Go Back To
Magyar
Topic List
Prev
1
196
197
198
199
200
249
Next
Add Reply
New Topic
New Poll
© 2003-2026 d2jsp
Contact