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 11:00E SequeiraE SequeiraScore: 5,633Success
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 11:005,59143,712,34615,904,0001,988,0002,265,088
2Nov 23, 2024 11:005,61549,099,23615,973,0001,996,0002,269,184
3Nov 23, 2024 11:005,62747,285,06317,005,0001,000,0002,273,280
4Nov 23, 2024 11:005,63140,644,49216,017,0002,002,0002,289,664
5Nov 23, 2024 11:005,63347,483,08716,024,0002,003,0002,289,664
6Nov 23, 2024 11:005,63437,782,68316,027,0002,003,0002,273,280
7Nov 23, 2024 11:005,64045,156,67117,046,0001,002,0002,269,184
8Nov 23, 2024 11:005,65248,824,47117,081,0001,004,0002,273,280
9Nov 23, 2024 11:005,65846,723,92716,093,0002,011,0002,289,664