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 listAug 9, 2024 17:03Casper BelierCasper BelierScore: 5,777Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2024 17:035,69875,843,30418,234,39802,301,952
2Aug 9, 2024 17:035,70199,611,57718,241,82802,301,952
3Aug 9, 2024 17:035,72184,052,03918,308,07202,306,048
4Aug 9, 2024 17:035,75640,197,20817,397,0001,023,0002,289,664
5Aug 9, 2024 17:035,76834,648,18417,432,0001,025,0002,531,328
6Aug 9, 2024 17:035,77439,516,52317,452,0001,026,0002,269,184
7Aug 9, 2024 17:035,77735,560,23117,459,0001,027,0002,269,184
8Aug 9, 2024 17:035,78941,721,25418,524,00002,289,664
9Aug 9, 2024 17:035,79040,341,76817,499,0001,029,0002,289,664
10Aug 9, 2024 17:035,79440,047,06017,511,0001,030,0002,289,664
11Aug 9, 2024 17:035,79744,894,68017,519,0001,030,0002,281,472
12Aug 9, 2024 17:035,81442,946,34717,573,0001,033,0002,363,392