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 listMar 16, 2023 00:25Alexander MonakovAlexander MonakovScore: 8,180Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 00:255,47680,415,38017,524,10102,207,744
2Mar 16, 2023 00:255,48389,383,52017,546,72402,207,744
3Mar 16, 2023 00:255,50494,477,73717,613,76802,207,744
4Mar 16, 2023 00:258,17850,947,73018,118,0008,052,0002,342,912
5Mar 16, 2023 00:258,17952,228,18318,119,0008,053,0002,281,472
6Mar 16, 2023 00:258,18049,967,79819,128,0007,047,0002,486,272
7Mar 16, 2023 00:258,18043,818,32117,115,0009,061,0002,408,448
8Mar 16, 2023 00:258,18251,360,32115,105,00011,077,0002,486,272
9Mar 16, 2023 00:258,19049,229,85718,144,0008,064,0002,387,968
10Mar 16, 2023 00:258,20252,794,16019,180,0007,066,0002,318,336
11Mar 16, 2023 00:258,20944,965,80216,165,00010,103,0002,482,176
12Mar 16, 2023 00:258,22849,089,72319,242,0007,089,0002,363,392