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 listAug 7, 2024 02:55zielajzielajScore: 4,388Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 02:554,36437,062,50012,968,000997,0002,433,024
2Aug 7, 2024 02:554,36831,155,03212,980,000998,0002,273,280
3Aug 7, 2024 02:554,37335,966,41312,993,000999,0002,273,280
4Aug 7, 2024 02:554,37329,798,17412,996,000999,0002,273,280
5Aug 7, 2024 02:554,37330,490,18012,996,000999,0002,437,120
6Aug 7, 2024 02:554,37634,855,74413,002,0001,000,0002,273,280
7Aug 7, 2024 02:554,38835,082,88013,038,0001,002,0002,428,928
8Aug 7, 2024 02:554,38934,390,17312,038,0002,006,0002,273,280
9Aug 7, 2024 02:554,40329,775,93412,078,0002,013,0002,433,024
10Aug 7, 2024 02:554,61975,960,35014,782,00602,183,168
11Aug 7, 2024 02:554,65594,088,92314,895,91502,187,264
12Aug 7, 2024 02:554,66498,419,76314,925,97402,260,992