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 2, 2023 16:08Jack FrigaardJack FrigaardScore: 5,602Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:085,57743,618,21015,863,0001,982,0002,285,568
2Jan 2, 2023 16:085,58449,430,26015,883,0001,985,0002,527,232
3Jan 2, 2023 16:085,58446,362,60016,878,000992,0002,269,184
4Jan 2, 2023 16:085,58547,089,88715,886,0001,985,0002,285,568
5Jan 2, 2023 16:085,58537,037,10415,887,0001,985,0002,285,568
6Jan 2, 2023 16:085,58643,409,07116,881,000993,0002,273,280
7Jan 2, 2023 16:085,60239,641,99816,871,0001,054,0002,281,472
8Jan 2, 2023 16:085,60836,121,11015,953,0001,994,0002,285,568
9Jan 2, 2023 16:085,61343,043,41215,967,0001,995,0002,273,280
10Jan 2, 2023 16:085,80755,757,73518,582,39702,301,952
11Jan 2, 2023 16:085,81287,877,72718,598,83702,297,856
12Jan 2, 2023 16:085,84388,000,92218,698,70202,297,856