Heiko Gigler: Nach Social-Pause folgt Attacke bei der WM
Kärntens Schwimm-Ass Heiko Gigler greift bei der Kurzbahn-Weltmeisterschaft in China (1. bis 6. Dezember) an.
Heiko Gigler: Nach Social-Pause folgt Attacke bei der WM
Kärntens Schwimm-Ass Heiko Gigler greift bei der Kurzbahn-Weltmeisterschaft in China (1. bis 6. Dezember) an.
数独:异常管理局 Demo #Windows #Mac <鱼汤工作室> が、配信開始されました。
https://store.steampowered.com/app/5589240/%E6%95%B0%E7%8B%AC%E5%BC%82%E5%B8%B8%E7%AE%A1%E7%90%86%E5%B1%80_Demo/?cc=jp&l=japanese
PS apresenta nesta quinta-feira um projecto-lei para a redistribuição das receitas com as apostas desportivas online e prevê, pelo menos, mais 12 milhões para as federações desportivas.
https://www.publico.pt/2026/12/03/desporto/noticia/bala-prata-federacoes-menos-dinheiro-vai-votos-parlamento-2197009 #notícias
Very brute force, this is optimizable by checking in a triangle pattern rather than everywhere and aborting afterwards.
def tabulate2d n m f = tabulate n (\ i -> tabulate m (\ j -> f i j)) def sum2d xss = i64.sum (map i64.sum xss) def map2d f = map (map f) def findSquare [n][m] (trees: [n][m]bool) row col: i64 = let maxSz = i64.min (n - row) (m - col) let isSquare sz = sz != 0 && trees[row][col] && trees[row+sz][col] && trees[row][col+sz] && trees[row+sz][col+sz] in tabulate maxSz isSquare |> map i64.bool |> i64.sum def findRotSquare [n][m] (trees: [n][m]bool) row col: i64 = let maxSz = i64.min n m let isTree i j = i >= 0 && j >= 0 && i < n && j < m && trees[i][j] let isRotSquare sz rot = true && sz != 0 && sz > rot && isTree row col -- top-left && isTree (row+rot) (col-rot+sz) -- top-right && isTree (row+sz) (col-rot+sz-rot) -- bot-right && isTree (row+sz-rot) (col-rot) in tabulate2d maxSz maxSz isRotSquare |> map2d i64.bool |> sum2d def main [n][m] (trees: [n][m]bool): (i64, i64) = let part1 = tabulate2d n m (findSquare trees) |> sum2d let part2 = tabulate2d n m (findRotSquare trees) |> sum2d in (part1, part2)
To run it, first format the input using sed:
sed 1i[ s/^/[/ s/#/true, /g s/\./false, /g s/$/], / $a]
Trump pardons boxing legend Joe Louis over tax issues https://www.aljazeera.com/news/2026/12/3/trump-pardons-boxing-legend-joe-louis-over-tax-issues?traffic_source=rss
Undermanned Raptors bring out Wembanyama’s best in scrappy loss https://www.rawchili.com/nba/897829/ #Basketball #NBA #Raptors #Toronto #TorontoRaptors #TorontoRaptors
Carbon capture: new Mantel unit wins 2,000 t paper mill test https://energynews.biz/carbon-capture-paper-mill-mantel-kruger/
Posted in
Fediverse
My first thought would be: the appearance of doing something.
QUICK FLOOD THE ZONE WITH SHIT
#FotoVorschlag 'Holztextur'
#PhotoSuggestion 'Wood Texture'
Causeway Bay 銅鑼灣 香港
(Details In the #AltText) (Described by Human)
#NoGenAi #NoAI #No2AI #Photo #Photography #POTD #PhotoOfTheDay #Travel #TravelPhotography #Water #CamelCase #BNW #BlackAndWhite #BlackAndWhitePhotography #Monochrome #NoirEtBlanc #SchwarzWeiß #BlancoYNegro #BiancoENero #黑白 #白黒 #SortPåHvidt #PhotographieDeRue #StraßenFotografie #FotografíaDeCalle #街頭攝影 #通りの写真 #HongKong #China #StreetPhotography #Street #Bamboo
L'allarme delle Big Tech e della NSA sulla necessità di adeguare i sistemi crittografici colpisce il bitcoin. Si temeva il futuribile arrivo dei quantum computer ma il futuro è praticamente già qui, sotto altre spoglie.
Bitcoin plunges 11% as quantum security worries grow https://cnb.cx/4zWk768
not sure this is the best brand name for car insurance guys ngl
Sorry, the app encountered an unexpected error