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 21, 2024 16:17AnSaAnSaScore: 5,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 16:175,27446,582,89214,893,0001,985,0002,281,472
2Jan 21, 2024 16:175,28141,978,32414,910,0001,988,0002,396,160
3Jan 21, 2024 16:175,29943,079,11515,960,000997,0002,273,280
4Jan 21, 2024 16:175,30245,664,97015,969,000998,0002,281,472
5Jan 21, 2024 16:175,30437,531,32515,976,000998,0002,281,472
6Jan 21, 2024 16:175,31733,807,56315,014,0002,001,0002,392,064
7Jan 21, 2024 16:175,31833,965,34016,017,0001,001,0002,400,256
8Jan 21, 2024 16:175,32037,645,26315,021,0002,002,0002,281,472
9Jan 21, 2024 16:175,32144,992,46616,026,0001,001,0002,387,968
10Jan 21, 2024 16:175,51183,006,00117,635,91602,260,992
11Jan 21, 2024 16:175,52590,855,95217,680,84202,265,088
12Jan 21, 2024 16:175,54266,817,04417,734,12002,269,184