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:33Huy Duc LeHuy Duc LeScore: 4,653Success
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:334,61138,862,74414,754,00002,387,968
2Feb 22, 2024 13:334,64030,349,48613,858,000989,0002,379,776
3Feb 22, 2024 13:334,64637,004,84913,877,000991,0002,265,088
4Feb 22, 2024 13:334,64834,915,63113,882,000991,0002,392,064
5Feb 22, 2024 13:334,64931,696,74113,885,000991,0002,265,088
6Feb 22, 2024 13:334,64930,033,53412,893,0001,983,0002,387,968
7Feb 22, 2024 13:334,65341,086,39413,898,000992,0002,265,088
8Feb 22, 2024 13:334,65431,692,03613,901,000992,0002,506,752
9Feb 22, 2024 13:334,67629,584,82013,967,000997,0002,265,088
10Feb 22, 2024 13:334,88079,303,45315,615,31902,285,568
11Feb 22, 2024 13:334,88477,189,85615,627,76502,289,664
12Feb 22, 2024 13:334,89188,427,40015,652,69702,281,472