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 14, 2022 19:47Franek KortaFranek KortaScore: 5,344Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2022 19:475,30837,702,40615,988,000999,0002,531,328
2Aug 14, 2022 19:475,30934,987,16813,990,0002,998,0002,269,184
3Aug 14, 2022 19:475,32639,846,18115,038,0002,005,0002,445,312
4Aug 14, 2022 19:475,32638,460,28416,042,0001,002,0002,531,328
5Aug 14, 2022 19:475,32732,842,93016,043,0001,002,0002,531,328
6Aug 14, 2022 19:475,33237,811,69016,059,0001,003,0002,531,328
7Aug 14, 2022 19:475,34442,455,24116,095,0001,005,0002,269,184
8Aug 14, 2022 19:475,35343,904,69216,121,0001,007,0002,531,328
9Aug 14, 2022 19:475,36434,118,09815,147,0002,019,0002,531,328
10Aug 14, 2022 19:475,56598,344,59017,806,65402,207,744
11Aug 14, 2022 19:475,578102,274,31117,851,12902,207,744
12Aug 14, 2022 19:475,60579,299,51017,935,01602,199,552