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 8, 2024 23:19Casper BelierCasper BelierScore: 5,915Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2024 23:195,89438,551,57917,870,000992,0002,289,664
2Aug 8, 2024 23:195,89849,056,73417,880,000993,0002,289,664
3Aug 8, 2024 23:195,90044,833,43516,894,0001,987,0002,289,664
4Aug 8, 2024 23:195,90742,974,41016,912,0001,989,0002,519,040
5Aug 8, 2024 23:195,90835,894,53616,916,0001,990,0002,531,328
6Aug 8, 2024 23:195,90936,368,66117,913,000995,0002,289,664
7Aug 8, 2024 23:195,91539,629,66417,933,000996,0002,527,232
8Aug 8, 2024 23:195,92240,339,56116,955,0001,994,0002,289,664
9Aug 8, 2024 23:195,93040,886,97717,978,000998,0002,273,280
10Aug 8, 2024 23:196,11198,168,65219,553,97602,301,952
11Aug 8, 2024 23:196,116118,969,49219,571,03702,297,856
12Aug 8, 2024 23:196,12289,777,72719,590,79602,187,264