EXAPUNKS

EXAPUNKS

Nedostatek hodnocení
EXAMAIL®️ (EXA-POWERED ELECTRONIC MAIL PROVIDER)
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Velikost souboru
Přidáno
7.160 KB
7. kvě. 2022 v 7.52
Poznámky ke změnám (1) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
EXAMAIL®️ (EXA-POWERED ELECTRONIC MAIL PROVIDER)

Popis
Write a spam E-Mail filter for Ghast's EXAMAIL®️ inbox. Look through the spam keywords in his messages to delete the spam, adding the senders' addresses to a blocked address list and removing said E-Mails from the database.
Počet komentářů: 2
Kathis před 4 hodinami 
I couldn't figure out how to reduce my logic to be a size less than 140. Not without it breaking mid tests. Test run data 1723 - 2492 cycles. Activity 16 - 20... But average is looks roughly around 2200 cycles to 18 activity.

I first send out an exa to count how many emails are in the inbox, and send that to a counter exa. I then had the inital one go and make a bunch of replicates to grab the email indexs, to add a 0 to the end of the file. After that was done we started out spam check. XA would take the word and replicate so the squad could go and check the emails. if they found any of the words they would +1 to the 0 I wrote on the file. and -1 to the counter so when it reached 0, it would know that it was time to check the next word. Once all words have been checked. the Checker and XA would go in and find the emails with 3 or more at the end. They would modify the 2 files, and delete the email Either way I enjoyed this puzzle. Coming to a solution was nice.
XTVB 2. dub. v 12.03 
Top percentile cycles was at 11.8k and I was getting similar at first, but then I cracked how to way speed things up and ended with 3916/98/29 before you start checking the files, create duplicates of file 300 so that when you're checking the words you can check multiple words at a time, managed to have 5 words being checked at once before the reaching the size limit