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 30, 2024 00:40Joad NacerJoad NacerScore: 4,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 30, 2024 00:414,30035,157,34413,760,00002,269,184
2Nov 30, 2024 00:414,33329,230,37212,877,000990,0002,531,328
3Nov 30, 2024 00:404,33540,472,16812,881,000990,0002,437,120
4Nov 30, 2024 00:414,33830,730,52713,881,00002,531,328
5Nov 30, 2024 00:414,34340,241,54812,904,000992,0002,433,024
6Nov 30, 2024 00:414,34529,782,57613,903,00002,433,024
7Nov 30, 2024 00:414,34837,863,70012,921,000993,0002,424,832
8Nov 30, 2024 00:414,35229,652,73311,937,0001,989,0002,428,928
9Nov 30, 2024 00:414,35632,117,54212,945,000995,0002,433,024
10Nov 30, 2024 00:414,39434,540,22213,058,0001,004,0002,510,848
11Nov 30, 2024 00:404,42136,819,96813,137,0001,010,0002,433,024
12Nov 30, 2024 00:404,56431,653,46713,561,0001,043,0002,514,944