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 listJul 20, 2024 11:58Matt StuchlikMatt StuchlikScore: 4,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 11:584,66731,643,70412,944,0001,991,0002,289,664
2Jul 20, 2024 11:584,67339,979,18512,961,0001,994,0002,273,280
3Jul 20, 2024 11:584,67531,940,03612,965,0001,994,0002,519,040
4Jul 20, 2024 11:584,67638,715,90413,965,000997,0002,289,664
5Jul 20, 2024 11:584,67938,043,33612,977,0001,996,0002,289,664
6Jul 20, 2024 11:584,67931,033,65812,977,0001,996,0002,285,568
7Jul 20, 2024 11:584,68331,343,34812,988,0001,998,0002,269,184
8Jul 20, 2024 11:584,70334,440,32914,046,0001,003,0002,289,664
9Jul 20, 2024 11:584,70432,386,87813,047,0002,007,0002,289,664
10Jul 20, 2024 11:584,93682,393,47615,796,13502,285,568
11Jul 20, 2024 11:584,94473,905,98615,821,39602,285,568
12Jul 20, 2024 11:584,95285,125,57415,847,06002,285,568