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:32Huy Duc LeHuy Duc LeScore: 4,659Success
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:324,63340,995,51412,850,0001,976,0002,265,088
2Feb 22, 2024 13:324,64034,314,11113,859,000989,0002,392,064
3Feb 22, 2024 13:324,64333,722,77313,868,000990,0002,265,088
4Feb 22, 2024 13:324,64434,180,06712,880,0001,981,0002,387,968
5Feb 22, 2024 13:324,64732,966,45712,887,0001,982,0002,265,088
6Feb 22, 2024 13:324,65932,984,14713,915,000993,0002,387,968
7Feb 22, 2024 13:324,65931,875,60713,844,0001,064,0002,523,136
8Feb 22, 2024 13:324,66337,932,53312,934,0001,989,0002,387,968
9Feb 22, 2024 13:324,69030,590,84813,006,0002,001,0002,502,656
10Feb 22, 2024 13:324,86760,946,02315,574,81002,289,664
11Feb 22, 2024 13:324,88163,595,05015,618,20802,285,568
12Feb 22, 2024 13:324,88694,316,59415,636,62002,281,472