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 9, 2024 14:36AndreyTSAndreyTSScore: 5,346Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:365,30338,381,75414,972,0001,996,0002,273,280
2Jun 9, 2024 14:365,31440,979,42515,004,0002,000,0002,273,280
3Jun 9, 2024 14:365,32032,879,81916,023,0001,001,0002,289,664
4Jun 9, 2024 14:365,32337,366,32415,029,0002,003,0002,289,664
5Jun 9, 2024 14:365,33243,888,49616,059,0001,003,0002,269,184
6Jun 9, 2024 14:365,33849,522,10815,073,0002,009,0002,289,664
7Jun 9, 2024 14:365,34639,307,37415,095,0002,012,0002,289,664
8Jun 9, 2024 14:365,36833,174,62215,158,0002,021,0002,269,184
9Jun 9, 2024 14:365,37238,685,01115,168,0002,022,0002,371,584
10Jun 9, 2024 14:365,53973,160,12917,725,15402,252,800
11Jun 9, 2024 14:365,54285,698,46717,733,24502,174,976
12Jun 9, 2024 14:365,59895,428,06617,914,64802,297,856