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 9, 2024 15:01matsuoka-601matsuoka-601Score: 4,862Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 15:014,80041,917,51914,337,0001,024,0002,293,760
2Jun 9, 2024 15:014,80137,924,67714,339,0001,024,0002,293,760
3Jun 9, 2024 15:014,80642,409,52015,380,00002,269,184
4Jun 9, 2024 15:014,80737,732,28213,331,0002,050,0002,281,472
5Jun 9, 2024 15:014,82134,480,43714,400,0001,028,0002,285,568
6Jun 9, 2024 15:014,82231,742,54814,402,0001,028,0002,277,376
7Jun 9, 2024 15:014,86240,839,51015,557,00002,269,184
8Jun 9, 2024 15:014,86634,393,23614,534,0001,038,0002,363,392
9Jun 9, 2024 15:014,89731,919,27014,627,0001,044,0002,293,760
10Jun 9, 2024 15:015,10970,809,98416,348,61802,289,664
11Jun 9, 2024 15:015,11073,835,03716,352,89002,297,856
12Jun 9, 2024 15:015,13679,375,93216,436,72502,293,760