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 listJun 8, 2021 18:35evgenikwtevgenikwtScore: 5,283Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 18:355,26840,848,44215,866,000991,0002,265,088
2Jun 8, 2021 18:355,27232,686,30214,886,0001,984,0002,265,088
3Jun 8, 2021 18:355,27338,905,03216,872,00002,387,968
4Jun 8, 2021 18:355,27336,778,72915,880,000992,0002,265,088
5Jun 8, 2021 18:355,27633,158,43114,898,0001,986,0002,383,872
6Jun 8, 2021 18:355,28041,335,31914,909,0001,987,0002,392,064
7Jun 8, 2021 18:355,28340,531,81915,911,000994,0002,392,064
8Jun 8, 2021 18:355,29033,839,94015,934,000995,0002,265,088
9Jun 8, 2021 18:355,29437,417,66215,946,000996,0002,527,232
10Jun 8, 2021 18:355,46655,577,92817,492,77302,281,472
11Jun 8, 2021 18:355,46980,646,94417,499,85102,285,568
12Jun 8, 2021 18:355,48393,154,06917,544,55502,269,184