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 29, 2024 17:22byrtoletbyrtoletScore: 5,897Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 17:225,84344,886,58817,658,0001,038,0002,523,136
2Jul 29, 2024 17:225,84647,232,58017,668,0001,039,0002,273,280
3Jul 29, 2024 17:225,86843,539,88617,733,0001,043,0002,265,088
4Jul 29, 2024 17:225,89236,657,23616,869,0001,984,0002,269,184
5Jul 29, 2024 17:225,89352,304,55117,867,000992,0002,289,664
6Jul 29, 2024 17:225,89444,265,87717,815,0001,047,0002,273,280
7Jul 29, 2024 17:225,89749,334,08416,884,0001,986,0002,289,664
8Jul 29, 2024 17:225,90150,815,48716,895,0001,987,0002,269,184
9Jul 29, 2024 17:225,91846,256,26716,944,0001,993,0002,289,664
10Jul 29, 2024 17:226,11086,061,92719,551,71002,306,048
11Jul 29, 2024 17:226,11597,301,67319,566,47902,174,976
12Jul 29, 2024 17:226,175104,014,65619,761,13402,301,952