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 9, 2023 19:46Victor MuñozVictor MuñozScore: 5,522Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2023 19:465,47945,791,15516,502,0001,031,0002,269,184
2Jan 9, 2023 19:465,48839,971,65816,528,0001,033,0002,269,184
3Jan 9, 2023 19:465,49544,373,33117,583,00002,269,184
4Jan 9, 2023 19:465,50835,157,82417,625,00002,392,064
5Jan 9, 2023 19:465,50939,250,15917,628,00002,383,872
6Jan 9, 2023 19:465,51443,132,95316,608,0001,038,0002,387,968
7Jan 9, 2023 19:465,52237,241,69817,670,00002,392,064
8Jan 9, 2023 19:465,52747,616,17217,687,00002,265,088
9Jan 9, 2023 19:465,52742,342,64616,647,0001,040,0002,387,968
10Jan 9, 2023 19:465,71288,079,47918,277,59302,289,664
11Jan 9, 2023 19:465,73783,462,21618,357,00202,285,568
12Jan 9, 2023 19:465,76085,964,05718,433,13802,281,472