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 22, 2024 11:26matsuoka-601matsuoka-601Score: 5,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:265,43145,867,32216,356,0001,022,0002,293,760
2Jan 22, 2024 11:265,44235,117,75817,415,00002,265,088
3Jan 22, 2024 11:265,45236,984,16316,421,0001,026,0002,281,472
4Jan 22, 2024 11:265,47138,544,44716,477,0001,029,0002,293,760
5Jan 22, 2024 11:265,47338,575,75816,483,0001,030,0002,277,376
6Jan 22, 2024 11:265,49446,197,30016,546,0001,034,0002,293,760
7Jan 22, 2024 11:265,49845,288,76616,559,0001,034,0002,281,472
8Jan 22, 2024 11:265,50344,810,56316,574,0001,035,0002,273,280
9Jan 22, 2024 11:265,51049,673,19017,632,00002,293,760
10Jan 22, 2024 11:265,61872,827,45317,977,89802,301,952
11Jan 22, 2024 11:265,62976,393,95518,014,19702,301,952
12Jan 22, 2024 11:265,63884,746,24918,040,05402,306,048