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 listApr 24, 2025 19:14lukostlukostScore: 5,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 19:145,30841,126,67615,988,000999,0002,404,352
2Apr 24, 2025 19:145,31237,004,92415,998,000999,0002,269,184
3Apr 24, 2025 19:145,31434,640,97015,004,0002,000,0002,396,160
4Apr 24, 2025 19:145,31537,888,32915,007,0002,001,0002,269,184
5Apr 24, 2025 19:145,32340,970,57215,031,0002,004,0002,396,160
6Apr 24, 2025 19:145,32533,389,71116,038,0001,002,0002,269,184
7Apr 24, 2025 19:145,32832,688,56315,044,0002,005,0002,265,088
8Apr 24, 2025 19:145,33340,838,06916,062,0001,003,0002,400,256
9Apr 24, 2025 19:145,33738,184,12916,075,0001,004,0002,519,040