Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listNov 28, 2024 16:12Joad NacerJoad NacerScore: 4,478Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 28, 2024 16:104,45033,107,21712,205,0002,034,0002,269,184
2Nov 28, 2024 16:124,45739,492,04312,226,0002,037,0002,269,184
3Nov 28, 2024 16:104,46839,089,80813,275,0001,021,0002,531,328
4Nov 28, 2024 16:104,47035,347,29314,304,00002,531,328
5Nov 28, 2024 16:104,47529,210,60214,321,00002,433,024
6Nov 28, 2024 16:104,47741,882,61314,326,00002,441,216
7Nov 28, 2024 16:104,47832,226,68813,308,0001,023,0002,433,024
8Nov 28, 2024 16:124,47830,141,86114,329,00002,424,832
9Nov 28, 2024 16:104,48429,932,79413,325,0001,025,0002,424,832
10Nov 28, 2024 16:124,49831,127,74814,394,00002,433,024
11Nov 28, 2024 16:104,50130,328,35814,402,00002,531,328
12Nov 28, 2024 16:104,53030,479,44513,461,0001,035,0002,428,928