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:50matsuoka-601matsuoka-601Score: 5,517Success
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:505,48143,173,70817,539,00002,285,568
2Jan 15, 2024 14:505,49439,230,77516,548,0001,034,0002,285,568
3Jan 15, 2024 14:505,49534,741,05416,549,0001,034,0002,379,776
4Jan 15, 2024 14:505,49641,668,95416,554,0001,034,0002,277,376
5Jan 15, 2024 14:505,50141,200,89516,568,0001,035,0002,285,568
6Jan 15, 2024 14:505,50846,037,76816,588,0001,036,0002,527,232
7Jan 15, 2024 14:505,51749,937,28617,653,00002,285,568
8Jan 15, 2024 14:505,58238,355,26715,877,0001,984,0002,285,568
9Jan 15, 2024 14:505,58649,000,18115,889,0001,986,0002,285,568
10Jan 15, 2024 14:505,64488,202,73718,061,67502,293,760
11Jan 15, 2024 14:505,67580,852,80318,159,44402,179,072
12Jan 15, 2024 14:505,68791,775,65618,199,05802,310,144