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 15, 2024 14:32matsuoka-601matsuoka-601Score: 5,520Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 14:325,48840,441,26016,529,0001,033,0002,289,664
2Jan 15, 2024 14:325,49141,631,67717,571,00002,289,664
3Jan 15, 2024 14:325,50346,351,35216,574,0001,035,0002,523,136
4Jan 15, 2024 14:325,51043,626,88716,596,0001,037,0002,289,664
5Jan 15, 2024 14:325,51134,306,24916,597,0001,037,0002,289,664
6Jan 15, 2024 14:325,51250,728,30717,639,00002,289,664
7Jan 15, 2024 14:325,52048,354,42516,624,0001,039,0002,277,376
8Jan 15, 2024 14:325,53546,402,42616,671,0001,041,0002,289,664
9Jan 15, 2024 14:325,57944,851,44215,871,0001,983,0002,527,232
10Jan 15, 2024 14:325,78462,156,50518,509,10102,301,952
11Jan 15, 2024 14:325,78690,695,90918,514,67602,301,952
12Jan 15, 2024 14:325,83390,716,56118,664,79602,252,800