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 listMay 27, 2021 19:50Yuriy LyfenkoYuriy LyfenkoScore: 5,321Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:505,28742,791,43814,927,0001,990,0002,265,088
2May 27, 2021 19:505,29347,212,80914,947,0001,992,0002,387,968
3May 27, 2021 19:505,29441,673,88914,949,0001,993,0002,400,256
4May 27, 2021 19:505,29844,833,88815,958,000997,0002,527,232
5May 27, 2021 19:505,31342,637,58615,003,0002,000,0002,265,088
6May 27, 2021 19:505,31737,908,27216,015,0001,000,0002,400,256
7May 27, 2021 19:505,32145,633,11615,025,0002,003,0002,392,064
8May 27, 2021 19:505,32834,289,75015,044,0002,005,0002,392,064
9May 27, 2021 19:505,33348,477,17716,063,0001,003,0002,400,256
10May 27, 2021 19:505,51292,757,41917,637,69602,265,088
11May 27, 2021 19:505,51344,980,73317,641,44502,273,280
12May 27, 2021 19:505,54354,976,18117,738,22002,285,568