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 01:17Alexander MonakovAlexander MonakovScore: 5,676Success
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 01:175,64449,432,59116,054,0002,006,0002,281,472
2Mar 16, 2023 01:175,64834,351,67516,067,0002,008,0002,449,408
3Mar 16, 2023 01:175,65237,002,15616,076,0002,009,0002,449,408
4Mar 16, 2023 01:175,65241,005,69316,077,0002,009,0002,281,472
5Mar 16, 2023 01:175,65639,603,51216,089,0002,011,0002,449,408
6Mar 16, 2023 01:175,66446,302,14716,111,0002,013,0002,281,472
7Mar 16, 2023 01:175,67637,075,17416,145,0002,018,0002,281,472
8Mar 16, 2023 01:175,68746,788,28616,177,0002,022,0002,281,472
9Mar 16, 2023 01:175,69440,325,24916,197,0002,024,0002,457,600
10Mar 16, 2023 01:175,84089,785,01118,689,04302,211,840
11Mar 16, 2023 01:175,84188,052,91718,690,72302,203,648
12Mar 16, 2023 01:175,87281,394,76018,791,80502,207,744