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 11, 2021 11:16Dmitry DolgopolovDmitry DolgopolovScore: 4,972Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2021 11:164,95643,795,53213,876,0001,982,0002,441,216
2Jun 11, 2021 11:164,96041,265,63013,889,0001,984,0002,531,328
3Jun 11, 2021 11:164,96033,580,75014,880,000992,0002,453,504
4Jun 11, 2021 11:164,96238,171,61113,894,0001,984,0002,531,328
5Jun 11, 2021 11:164,96327,944,95213,897,0001,985,0002,441,216
6Jun 11, 2021 11:164,96439,539,91813,900,0001,985,0002,441,216
7Jun 11, 2021 11:164,96429,102,79114,893,000992,0002,453,504
8Jun 11, 2021 11:164,96529,515,99813,902,0001,986,0002,445,312
9Jun 11, 2021 11:164,96635,681,34013,905,0001,986,0002,269,184
10Jun 11, 2021 11:164,96740,526,05114,902,000993,0002,441,216
11Jun 11, 2021 11:164,96938,292,63213,915,0001,987,0002,269,184
12Jun 11, 2021 11:164,97035,499,34813,917,0001,988,0002,269,184
13Jun 11, 2021 11:164,97234,591,02614,850,0001,060,0002,441,216
14Jun 11, 2021 11:164,97934,568,42413,941,0001,991,0002,531,328
15Jun 11, 2021 11:164,98031,718,12013,945,0001,992,0002,531,328
16Jun 11, 2021 11:164,98331,736,58813,951,0001,993,0002,449,408
17Jun 11, 2021 11:164,98437,156,63113,955,0001,993,0002,531,328
18Jun 11, 2021 11:164,98938,514,46013,971,0001,995,0002,445,312
19Jun 11, 2021 11:165,17489,168,49816,555,80002,207,744
20Jun 11, 2021 11:165,17685,169,51416,563,28102,203,648
21Jun 11, 2021 11:165,18187,470,62616,579,42802,215,936
22Jun 11, 2021 11:165,18973,135,54516,603,38302,199,552
23Jun 11, 2021 11:165,19382,967,70816,617,19202,207,744
24Jun 11, 2021 11:165,20978,565,74016,667,62402,199,552