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 17, 2024 05:15Yuriy LyfenkoYuriy LyfenkoScore: 4,544Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 05:154,51733,872,58613,421,0001,032,0002,265,088
2Aug 17, 2024 05:154,52133,027,68513,433,0001,033,0002,514,944
3Aug 17, 2024 05:154,52834,683,12514,490,00002,392,064
4Aug 17, 2024 05:154,53226,411,38113,466,0001,035,0002,396,160
5Aug 17, 2024 05:154,54032,315,57813,491,0001,037,0002,527,232
6Aug 17, 2024 05:154,54231,264,83314,534,00002,400,256
7Aug 17, 2024 05:154,54433,495,25213,504,0001,038,0002,527,232
8Aug 17, 2024 05:154,55230,150,12214,566,00002,527,232
9Aug 17, 2024 05:154,56231,506,51113,557,0001,042,0002,523,136
10Aug 17, 2024 05:154,807101,152,59215,381,38902,277,376
11Aug 17, 2024 05:154,84386,909,22615,496,87802,277,376
12Aug 17, 2024 05:154,84981,859,45515,515,62402,273,280