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 13, 2021 21:35evgenikwtevgenikwtScore: 5,325Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 21:355,29642,817,06114,954,0001,993,0002,392,064
2Jun 13, 2021 21:355,30337,128,64315,970,000998,0002,265,088
3Jun 13, 2021 21:355,30846,367,81915,986,000999,0002,265,088
4Jun 13, 2021 21:355,30842,694,69114,987,0001,998,0002,265,088
5Jun 13, 2021 21:355,30846,521,88014,989,0001,998,0002,392,064
6Jun 13, 2021 21:355,31537,192,28916,008,0001,000,0002,383,872
7Jun 13, 2021 21:355,32543,510,01615,035,0002,004,0002,265,088
8Jun 13, 2021 21:355,34440,516,19415,089,0002,011,0002,392,064
9Jun 13, 2021 21:355,34838,974,26815,101,0002,013,0002,383,872
10Jun 13, 2021 21:355,49881,342,87917,593,49902,285,568
11Jun 13, 2021 21:355,50388,205,95317,611,00002,277,376
12Jun 13, 2021 21:355,51877,548,32117,656,92402,273,280