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 20, 2022 23:19Franek KortaFranek KortaScore: 5,329Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 23:195,29939,821,10715,959,000997,0002,449,408
2Aug 20, 2022 23:195,31343,321,59315,003,0002,000,0002,269,184
3Aug 20, 2022 23:195,32241,313,62915,028,0002,003,0002,445,312
4Aug 20, 2022 23:195,32442,183,74416,034,0001,002,0002,449,408
5Aug 20, 2022 23:195,32545,053,98616,039,0001,002,0002,449,408
6Aug 20, 2022 23:195,32637,541,58316,040,0001,002,0002,445,312
7Aug 20, 2022 23:195,32936,259,90516,051,0001,003,0002,453,504
8Aug 20, 2022 23:195,33040,912,70316,052,0001,003,0002,527,232
9Aug 20, 2022 23:195,33450,197,55116,065,0001,004,0002,269,184
10Aug 20, 2022 23:195,551102,662,58717,764,12602,207,744
11Aug 20, 2022 23:195,56687,095,14317,812,28602,203,648
12Aug 20, 2022 23:195,59680,107,83417,906,28802,203,648