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 listJun 9, 2024 15:03matsuoka-601matsuoka-601Score: 4,822Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 15:034,76631,496,15213,217,0002,033,0002,293,760
2Jun 9, 2024 15:034,79633,868,37115,347,00002,293,760
3Jun 9, 2024 15:034,79931,439,56513,309,0002,047,0002,293,760
4Jun 9, 2024 15:034,80539,647,38913,325,0002,050,0002,293,760
5Jun 9, 2024 15:034,80743,544,26614,356,0001,025,0002,273,280
6Jun 9, 2024 15:034,81832,411,83914,389,0001,027,0002,293,760
7Jun 9, 2024 15:034,82235,355,23314,403,0001,028,0002,387,968
8Jun 9, 2024 15:034,82336,709,28314,404,0001,028,0002,293,760
9Jun 9, 2024 15:034,83839,375,16614,451,0001,032,0002,293,760
10Jun 9, 2024 15:035,08288,026,66016,261,29402,179,072
11Jun 9, 2024 15:035,08559,697,95616,273,06202,187,264
12Jun 9, 2024 15:035,09987,120,08516,318,21802,183,168