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 11, 2024 02:11Yuriy LyfenkoYuriy LyfenkoScore: 4,398Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 02:114,371533,845,96511,989,0001,998,0002,433,024
2Aug 11, 2024 02:114,387537,635,94212,034,0002,005,0002,273,280
3Aug 11, 2024 02:114,388535,426,22612,036,0002,006,0002,273,280
4Aug 11, 2024 02:114,392536,123,24312,047,0002,007,0002,289,664
5Aug 11, 2024 02:114,394534,898,88113,058,0001,004,0002,289,664
6Aug 11, 2024 02:114,398539,639,04614,073,00002,441,216
7Aug 11, 2024 02:114,398542,694,39712,065,0002,010,0002,289,664
8Aug 11, 2024 02:114,405534,639,01112,083,0002,013,0002,428,928
9Aug 11, 2024 02:114,411536,758,58313,108,0001,008,0002,535,424
10Aug 11, 2024 02:114,616575,809,43714,770,48202,437,120
11Aug 11, 2024 02:114,616576,019,77114,771,53702,437,120
12Aug 11, 2024 02:114,618573,077,60714,778,28802,265,088