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 listJan 18, 2024 22:46Franek KortaFranek KortaScore: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2024 22:474,60030,545,73113,669,0001,051,0002,445,312
2Jan 18, 2024 22:474,60634,097,07613,686,0001,052,0002,269,184
3Jan 18, 2024 22:464,63033,218,92312,841,0001,975,0002,269,184
4Jan 18, 2024 22:474,64633,050,53012,885,0001,982,0002,531,328
5Jan 18, 2024 22:474,64730,211,88914,870,00002,269,184
6Jan 18, 2024 22:464,64839,482,96813,884,000991,0002,265,088
7Jan 18, 2024 22:474,64843,873,41513,884,000991,0002,531,328
8Jan 18, 2024 22:474,64832,331,20212,891,0001,983,0002,531,328
9Jan 18, 2024 22:464,64937,536,87713,885,000991,0002,269,184
10Jan 18, 2024 22:474,64935,140,31413,887,000991,0002,269,184
11Jan 18, 2024 22:464,65033,188,65413,888,000992,0002,269,184
12Jan 18, 2024 22:464,65040,103,05313,889,000992,0002,531,328
13Jan 18, 2024 22:464,65044,543,20412,897,0001,984,0002,437,120
14Jan 18, 2024 22:474,65040,932,89514,880,00002,445,312
15Jan 18, 2024 22:464,65031,454,31413,889,000992,0002,265,088
16Jan 18, 2024 22:474,65237,880,37313,895,000992,0002,527,232
17Jan 18, 2024 22:464,65343,562,86913,898,000992,0002,269,184
18Jan 18, 2024 22:464,65835,693,26211,924,0002,981,0002,531,328
19Jan 18, 2024 22:474,85193,239,06815,522,28102,199,552
20Jan 18, 2024 22:464,85876,087,84415,545,98202,207,744
21Jan 18, 2024 22:474,86470,772,78915,563,64602,195,456
22Jan 18, 2024 22:464,87280,514,13015,590,47802,199,552
23Jan 18, 2024 22:474,88674,486,83515,634,07102,207,744
24Jan 18, 2024 22:464,88883,864,99715,640,75002,207,744