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 1, 2023 21:35Jack FrigaardJack FrigaardScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:355,57144,280,23015,846,0001,980,0002,265,088
2Jan 1, 2023 21:355,57246,403,81415,850,0001,981,0002,277,376
3Jan 1, 2023 21:355,57843,849,02415,865,0001,983,0002,289,664
4Jan 1, 2023 21:355,58144,902,16515,875,0001,984,0002,269,184
5Jan 1, 2023 21:355,58245,980,76015,877,0001,984,0002,289,664
6Jan 1, 2023 21:355,58541,078,51615,886,0001,985,0002,289,664
7Jan 1, 2023 21:355,58950,063,13315,898,0001,987,0002,289,664
8Jan 1, 2023 21:355,59239,688,91515,906,0001,988,0002,265,088
9Jan 1, 2023 21:355,63249,525,59216,021,0002,002,0002,269,184
10Jan 1, 2023 21:355,92987,972,09118,974,17802,293,760
11Jan 1, 2023 21:355,95178,095,27219,044,02802,297,856
12Jan 1, 2023 21:356,13956,410,20619,645,72402,306,048