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 19:38zielajzielajScore: 368,973Success
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 19:37368,2701,205,643,2251,178,464,00002,490,368
2Aug 31, 2024 19:38368,2831,201,076,8401,177,508,000997,0002,527,232
3Aug 31, 2024 19:37368,4871,207,568,4881,178,160,000997,0002,265,088
4Aug 31, 2024 19:38368,5261,205,115,9481,179,284,00002,265,088
5Aug 31, 2024 19:38368,9731,206,573,4671,179,716,000998,0002,527,232
6Aug 31, 2024 19:37369,1421,208,526,9981,180,258,000997,0002,486,272
7Aug 31, 2024 19:38369,7011,211,531,9021,183,042,00002,265,088
8Aug 31, 2024 19:38369,7161,209,771,3361,182,093,000997,0002,494,464
9Aug 31, 2024 19:38370,0091,209,726,0601,183,031,000997,0002,494,464