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 8, 2024 18:22AndreyTSAndreyTSScore: 5,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:225,66139,866,17417,109,0001,006,0002,289,664
2Jun 8, 2024 18:225,66940,606,40916,126,0002,015,0002,289,664
3Jun 8, 2024 18:225,67240,811,23916,135,0002,016,0002,289,664
4Jun 8, 2024 18:225,67345,637,56216,137,0002,017,0002,277,376
5Jun 8, 2024 18:225,67438,478,71116,141,0002,017,0002,289,664
6Jun 8, 2024 18:225,67641,275,84416,146,0002,018,0002,265,088
7Jun 8, 2024 18:225,69642,108,31517,216,0001,012,0002,289,664
8Jun 8, 2024 18:225,69845,539,11016,207,0002,025,0002,289,664
9Jun 8, 2024 18:225,71142,135,88316,245,0002,030,0002,273,280
10Jun 8, 2024 18:225,95682,179,84919,057,60502,301,952
11Jun 8, 2024 18:225,95985,445,66619,068,35502,306,048
12Jun 8, 2024 18:225,98688,866,15519,156,72802,174,976