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 6, 2024 15:24Dan StolyarovDan StolyarovScore: 32,700Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 15:2432,465131,129,24572,921,00030,966,0002,265,088
2Nov 6, 2024 15:2432,584133,131,28177,200,00027,070,0002,289,664
3Nov 6, 2024 15:2432,666125,300,65673,372,00031,158,0002,265,088
4Nov 6, 2024 15:2432,695131,190,61078,469,00026,156,0002,289,664
5Nov 6, 2024 15:2432,700130,525,07168,418,00036,221,0002,289,664
6Nov 6, 2024 15:2432,760139,584,95873,881,00030,950,0002,277,376
7Nov 6, 2024 15:2432,762134,529,60173,887,00030,952,0002,281,472
8Nov 6, 2024 15:2432,783128,148,16188,919,00015,985,0002,289,664
9Nov 6, 2024 15:2432,850127,787,64874,085,00031,035,0002,527,232