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 23, 2024 13:59MatthiasMatthiasScore: 4,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 13:594,95933,075,19413,886,0001,983,0002,265,088
2Nov 23, 2024 13:594,96037,845,19813,888,0001,984,0002,289,664
3Nov 23, 2024 13:594,96142,615,54114,882,000992,0002,269,184
4Nov 23, 2024 13:594,96148,562,55713,892,0001,984,0002,289,664
5Nov 23, 2024 13:594,96440,519,92213,901,0001,985,0002,289,664
6Nov 23, 2024 13:594,96746,381,42514,900,000993,0002,289,664
7Nov 23, 2024 13:594,96932,461,63614,842,0001,060,0002,289,664
8Nov 23, 2024 13:594,97132,964,97713,919,0001,988,0002,289,664
9Nov 23, 2024 13:595,10844,942,05314,303,0002,043,0002,273,280