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 8, 2024 21:34AndreyTSAndreyTSScore: 5,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:345,44241,115,55117,414,00002,273,280
2Jun 8, 2024 21:345,44235,229,70316,391,0001,024,0002,273,280
3Jun 8, 2024 21:345,44740,999,83416,404,0001,025,0002,277,376
4Jun 8, 2024 21:345,44943,344,17817,436,00002,289,664
5Jun 8, 2024 21:345,45639,491,52516,433,0001,027,0002,273,280
6Jun 8, 2024 21:345,45838,889,43117,465,00002,387,968
7Jun 8, 2024 21:345,47345,084,56116,482,0001,030,0002,273,280
8Jun 8, 2024 21:345,47342,938,90016,484,0001,030,0002,273,280
9Jun 8, 2024 21:345,47639,603,72816,493,0001,030,0002,527,232
10Jun 8, 2024 21:345,690101,498,21018,208,55402,301,952
11Jun 8, 2024 21:345,71187,917,06818,273,62002,293,760
12Jun 8, 2024 21:345,73595,722,98118,352,89802,297,856