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 13, 2024 08:08matsuoka-601matsuoka-601Score: 5,501Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 13, 2024 08:085,46635,925,65016,463,0001,028,0002,285,568
2Jan 13, 2024 08:085,46638,250,02716,463,0001,028,0002,277,376
3Jan 13, 2024 08:085,48343,793,66817,544,00002,281,472
4Jan 13, 2024 08:085,48436,797,82817,548,00002,285,568
5Jan 13, 2024 08:085,49040,326,03716,536,0001,033,0002,527,232
6Jan 13, 2024 08:085,49345,698,97216,543,0001,033,0002,285,568
7Jan 13, 2024 08:085,50137,925,48816,568,0001,035,0002,269,184
8Jan 13, 2024 08:085,51844,466,14716,619,0001,038,0002,326,528
9Jan 13, 2024 08:085,53445,564,58216,668,0001,041,0002,277,376
10Jan 13, 2024 08:085,66984,388,91618,141,93502,297,856
11Jan 13, 2024 08:085,70493,415,67018,252,77502,306,048
12Jan 13, 2024 08:085,70583,887,38518,257,56202,297,856