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 28, 2024 23:32korey-skorey-sScore: 5,605Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2024 23:325,58543,861,97815,887,0001,985,0002,465,792
2Dec 28, 2024 23:325,58744,152,95715,891,0001,986,0002,375,680
3Dec 28, 2024 23:325,59544,433,87716,909,000994,0002,289,664
4Dec 28, 2024 23:325,59835,543,86315,925,0001,990,0002,289,664
5Dec 28, 2024 23:325,60541,562,66616,939,000996,0002,289,664
6Dec 28, 2024 23:325,62343,837,66116,993,000999,0002,289,664
7Dec 28, 2024 23:325,63547,324,60315,026,0003,005,0002,371,584
8Dec 28, 2024 23:325,63846,121,37317,041,0001,002,0002,367,488
9Dec 28, 2024 23:325,64937,605,60316,070,0002,008,0002,289,664