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

deleted 49 characters in body
Source Link
Nick Kennedy
  • 21.2k
  • 3
  • 18
  • 44

Jelly, (削除) 40 (削除ここまで) 3925 bytes

FQ)©,Ɱ€ṁ@\/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢẊ€+ZE€ẸƊ¿iⱮⱮ@ịƭƒḢ

Try it online! Try it online!

A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.

Jelly, (削除) 40 (削除ここまで) 39 bytes

FQ)©,Ɱ€/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢ

Try it online!

A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.

Jelly, (削除) 40 (削除ここまで) 25 bytes

FQ),ṁ@\/Ẋ€+ZE€ẸƊ¿iⱮⱮ@ịƭƒḢ

Try it online!

A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.

edited body
Source Link
Nick Kennedy
  • 21.2k
  • 3
  • 18
  • 44

Jelly, 40(削除) 40 (削除ここまで) 39 bytes

FQ$€©FQ)©,Ɱ€/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢ

Try it online! Try it online!

A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.

Jelly, 40 bytes

FQ$€©,Ɱ€/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢ

Try it online!

A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.

Jelly, (削除) 40 (削除ここまで) 39 bytes

FQ)©,Ɱ€/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢ

Try it online!

A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.

Source Link
Nick Kennedy
  • 21.2k
  • 3
  • 18
  • 44

Jelly, 40 bytes

FQ$€©,Ɱ€/EÐḟ€ŒpZṪċⱮⱮ®ṪƲṀạṂƊỊƊƇXZiⱮⱮ@ịƭƒḢ

Try it online!

A monadic link taking a list of two flags as integer matrices and returning the altered version of the first flag. At the moment this assumes there are indexed colours representing each pixel. I've also assumed that each flag can have arbitrary colours.

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