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 22:57Joad NacerJoad NacerScore: 4,486Success
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 22:574,46930,951,44113,279,0001,021,0002,428,928
2Nov 28, 2024 22:574,47428,127,01314,317,00002,531,328
3Nov 28, 2024 22:574,47534,168,46614,321,00002,428,928
4Nov 28, 2024 22:574,48142,829,40713,316,0001,024,0002,437,120
5Nov 28, 2024 22:574,48230,827,22914,342,00002,510,848
6Nov 28, 2024 22:574,48237,548,25514,343,00002,531,328
7Nov 28, 2024 22:574,48631,737,08914,354,00002,531,328
8Nov 28, 2024 22:574,48628,845,40013,330,0001,025,0002,433,024
9Nov 28, 2024 22:574,48926,695,90814,364,00002,510,848
10Nov 28, 2024 22:574,49338,329,03213,352,0001,027,0002,437,120
11Nov 28, 2024 22:574,49528,801,32814,384,00002,531,328
12Nov 28, 2024 22:574,49733,068,84114,390,00002,437,120
13Nov 28, 2024 22:574,49934,150,82514,397,00002,531,328
14Nov 28, 2024 22:574,50737,846,71114,423,00002,531,328
15Nov 28, 2024 22:574,50941,270,60914,430,00002,531,328