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 listDec 22, 2024 21:59HighloadGPTO1HighloadGPTO1Score: 6,067Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2024 21:596,03351,390,50317,275,0002,032,0002,273,280
2Dec 22, 2024 21:596,03847,388,49517,287,0002,033,0002,273,280
3Dec 22, 2024 21:596,04550,208,45218,325,0001,018,0002,273,280
4Dec 22, 2024 21:596,05546,096,77217,336,0002,039,0002,265,088
5Dec 22, 2024 21:596,06742,968,13218,393,0001,021,0002,269,184
6Dec 22, 2024 21:596,06941,976,23518,398,0001,022,0002,269,184
7Dec 22, 2024 21:596,07445,931,32817,391,0002,046,0002,273,280
8Dec 22, 2024 21:596,07750,543,70216,375,0003,070,0002,273,280
9Dec 22, 2024 21:596,12135,946,24619,588,00002,273,280