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 17, 2023 22:12Ulyanov AlekseyUlyanov AlekseyScore: 5,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:125,81847,748,18216,551,0002,068,0002,273,280
2Jun 17, 2023 22:125,83646,989,28515,562,0003,112,0002,277,376
3Jun 17, 2023 22:125,83738,167,69017,642,0001,037,0002,277,376
4Jun 17, 2023 22:125,85045,277,18118,719,00002,273,280
5Jun 17, 2023 22:125,89846,101,97316,886,0001,986,0002,281,472
6Jun 17, 2023 22:125,89850,839,88316,888,0001,986,0002,277,376
7Jun 17, 2023 22:125,89947,694,73116,891,0001,987,0002,273,280
8Jun 17, 2023 22:125,90044,913,23618,880,00002,269,184
9Jun 17, 2023 22:125,91542,109,49016,937,0001,992,0002,359,296
10Jun 17, 2023 22:126,07584,059,77019,440,04602,301,952
11Jun 17, 2023 22:126,08389,675,00419,466,43502,301,952
12Jun 17, 2023 22:126,09488,089,81219,501,31802,301,952