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 listMay 30, 2022 13:28Keichi TakahashiKeichi TakahashiScore: 5,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:285,43834,323,87016,380,0001,023,0002,273,280
2May 30, 2022 13:285,45233,240,55516,421,0001,026,0002,289,664
3May 30, 2022 13:285,45541,431,89216,431,0001,026,0002,375,680
4May 30, 2022 13:285,46834,160,47216,470,0001,029,0002,277,376
5May 30, 2022 13:285,47941,207,33716,503,0001,031,0002,289,664
6May 30, 2022 13:285,48448,193,64216,516,0001,032,0002,289,664
7May 30, 2022 13:285,48735,122,18016,526,0001,032,0002,281,472
8May 30, 2022 13:285,49240,966,00016,542,0001,033,0002,289,664
9May 30, 2022 13:285,50035,188,16516,565,0001,035,0002,355,200
10May 30, 2022 13:285,62282,606,96217,991,13402,252,800
11May 30, 2022 13:285,62595,476,59118,000,74402,301,952
12May 30, 2022 13:285,64396,604,43818,056,88602,293,760