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 31, 2024 21:27Yuriy LyfenkoYuriy LyfenkoScore: 4,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2024 21:274,40335,016,85012,076,0002,012,0002,273,280
2Aug 31, 2024 21:274,41333,482,83112,105,0002,017,0002,531,328
3Aug 31, 2024 21:274,41532,115,46712,111,0002,018,0002,273,280
4Aug 31, 2024 21:274,42235,790,76712,128,0002,021,0002,453,504
5Aug 31, 2024 21:274,42426,244,75012,134,0002,022,0002,457,600
6Aug 31, 2024 21:274,42727,085,26912,142,0002,023,0002,535,424
7Aug 31, 2024 21:274,42827,397,49712,147,0002,024,0002,453,504
8Aug 31, 2024 21:274,43528,360,02212,166,0002,027,0002,531,328
9Aug 31, 2024 21:274,43530,641,50412,165,0002,027,0002,273,280
10Aug 31, 2024 21:274,44238,320,41512,185,0002,030,0002,449,408
11Aug 31, 2024 21:274,44330,823,66612,187,0002,031,0002,535,424
12Aug 31, 2024 21:274,45330,523,68513,233,0001,017,0002,457,600