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 listFeb 22, 2024 13:45Huy Duc LeHuy Duc LeScore: 4,656Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:454,61033,912,46613,700,0001,053,0002,383,872
2Feb 22, 2024 13:454,64631,727,94712,884,0001,982,0002,387,968
3Feb 22, 2024 13:454,64641,592,50013,876,000991,0002,383,872
4Feb 22, 2024 13:454,64730,943,13213,879,000991,0002,265,088
5Feb 22, 2024 13:454,64834,418,05412,890,0001,983,0002,265,088
6Feb 22, 2024 13:454,65337,468,45613,896,000992,0002,383,872
7Feb 22, 2024 13:454,65632,880,30813,907,000993,0002,265,088
8Feb 22, 2024 13:454,65930,298,90213,916,000994,0002,392,064
9Feb 22, 2024 13:454,66234,885,93214,917,00002,387,968
10Feb 22, 2024 13:454,90582,832,44215,696,61802,277,376
11Feb 22, 2024 13:454,91756,923,75315,734,06302,281,472
12Feb 22, 2024 13:454,95768,208,12715,863,78802,285,568