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,909Success
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,89348,875,93017,866,000992,0002,289,664
2Aug 8, 2024 23:195,89544,700,67816,879,0001,985,0002,523,136
3Aug 8, 2024 23:195,89746,196,01216,885,0001,986,0002,289,664
4Aug 8, 2024 23:195,90051,107,26016,893,0001,987,0002,269,184
5Aug 8, 2024 23:195,90343,913,42017,896,000994,0002,265,088
6Aug 8, 2024 23:195,90546,314,32416,908,0001,989,0002,269,184
7Aug 8, 2024 23:195,90944,071,11316,920,0001,990,0002,289,664
8Aug 8, 2024 23:195,91638,560,97816,939,0001,992,0002,289,664
9Aug 8, 2024 23:195,92941,887,24416,977,0001,997,0002,289,664
10Aug 8, 2024 23:196,13588,311,55819,631,21102,174,976
11Aug 8, 2024 23:196,15095,119,99919,678,88402,174,976
12Aug 8, 2024 23:196,17595,452,92319,759,18602,306,048