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 listAug 4, 2024 22:17zielajzielajScore: 5,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 22:175,45053,224,09516,414,0001,025,0002,277,376
2Aug 4, 2024 22:175,45035,469,34216,415,0001,025,0002,273,280
3Aug 4, 2024 22:175,45743,560,05216,434,0001,027,0002,289,664
4Aug 4, 2024 22:175,47035,159,41316,476,0001,029,0002,277,376
5Aug 4, 2024 22:175,47246,769,25617,509,00002,289,664
6Aug 4, 2024 22:175,47943,788,14316,502,0001,031,0002,379,776
7Aug 4, 2024 22:175,48739,893,05016,527,0001,032,0002,277,376
8Aug 4, 2024 22:175,49943,800,87116,561,0001,035,0002,289,664
9Aug 4, 2024 22:175,51043,897,85516,595,0001,037,0002,367,488
10Aug 4, 2024 22:175,71582,295,05818,287,59902,297,856
11Aug 4, 2024 22:175,71679,621,90118,291,77602,179,072
12Aug 4, 2024 22:175,72090,694,66118,303,57902,301,952