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 listJun 13, 2021 10:57Dmitry DolgopolovDmitry DolgopolovScore: 4,979Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 10:574,95730,384,87313,879,0001,982,0002,531,328
2Jun 13, 2021 10:574,96440,262,08413,901,0001,985,0002,457,600
3Jun 13, 2021 10:574,96534,640,04013,903,0001,986,0002,445,312
4Jun 13, 2021 10:574,96632,839,50113,905,0001,986,0002,445,312
5Jun 13, 2021 10:574,96634,306,49013,906,0001,986,0002,269,184
6Jun 13, 2021 10:574,97039,843,04114,844,0001,060,0002,449,408
7Jun 13, 2021 10:574,97938,836,42713,941,0001,991,0002,269,184
8Jun 13, 2021 10:574,98141,100,41313,947,0001,992,0002,269,184
9Jun 13, 2021 10:574,98231,044,36213,949,0001,992,0002,445,312
10Jun 13, 2021 10:575,19682,587,73516,626,87802,215,936
11Jun 13, 2021 10:575,21489,145,77216,683,52802,211,840
12Jun 13, 2021 10:575,23074,266,82116,734,77102,203,648