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 1, 2023 21:46Jack FrigaardJack FrigaardScore: 5,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:465,64341,977,26316,053,0002,006,0002,285,568
2Jan 1, 2023 21:465,66242,950,01618,118,00002,285,568
3Jan 1, 2023 21:465,68843,625,20916,179,0002,022,0002,285,568
4Jan 1, 2023 21:465,68935,822,01516,183,0002,022,0002,285,568
5Jan 1, 2023 21:465,69349,039,85916,194,0002,024,0002,285,568
6Jan 1, 2023 21:465,71739,173,25816,262,0002,032,0002,285,568
7Jan 1, 2023 21:465,72445,781,39816,282,0002,035,0002,285,568
8Jan 1, 2023 21:465,73739,096,99316,318,0002,039,0002,285,568
9Jan 1, 2023 21:465,76738,840,17716,404,0002,050,0002,527,232
10Jan 1, 2023 21:466,08159,588,08019,458,13202,297,856
11Jan 1, 2023 21:466,10076,156,96419,521,33702,293,760
12Jan 1, 2023 21:466,31286,107,15620,197,16502,252,800