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 29, 2024 17:44Joad NacerJoad NacerScore: 4,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 17:434,50734,024,78113,391,0001,030,0002,269,184
2Nov 29, 2024 17:434,50837,159,33713,394,0001,030,0002,269,184
3Nov 29, 2024 17:434,53031,083,30214,497,00002,531,328
4Nov 29, 2024 17:444,59241,915,40413,644,0001,049,0002,428,928
5Nov 29, 2024 17:444,60039,476,73814,720,00002,437,120
6Nov 29, 2024 17:444,60931,242,03514,750,00002,531,328
7Nov 29, 2024 17:444,66938,043,93413,946,000996,0002,531,328
8Nov 29, 2024 17:444,67328,072,89813,957,000996,0002,531,328
9Nov 29, 2024 17:444,68932,184,10414,004,0001,000,0002,531,328
10Nov 29, 2024 17:444,69037,195,32914,008,0001,000,0002,424,832
11Nov 29, 2024 17:444,69236,838,91313,012,0002,001,0002,531,328
12Nov 29, 2024 17:444,70232,968,29914,042,0001,003,0002,510,848