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 01:56Yuriy LyfenkoYuriy LyfenkoScore: 4,409Success
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 01:564,387537,667,29712,033,0002,005,0002,535,424
2Aug 11, 2024 01:564,391535,338,30912,045,0002,007,0002,273,280
3Aug 11, 2024 01:564,400534,487,14512,070,0002,011,0002,457,600
4Aug 11, 2024 01:564,402539,766,80212,074,0002,012,0002,273,280
5Aug 11, 2024 01:564,407539,221,03812,088,0002,014,0002,273,280
6Aug 11, 2024 01:564,407536,560,14612,089,0002,014,0002,273,280
7Aug 11, 2024 01:564,409542,944,23112,095,0002,015,0002,273,280
8Aug 11, 2024 01:564,417538,042,04612,115,0002,019,0002,535,424
9Aug 11, 2024 01:564,423531,298,04112,132,0002,022,0002,277,376
10Aug 11, 2024 01:564,585578,024,11514,672,44702,207,744
11Aug 11, 2024 01:564,597578,427,05114,709,83302,203,648
12Aug 11, 2024 01:564,629571,812,90014,813,41602,334,720