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:52Jack FrigaardJack FrigaardScore: 5,587Success
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:525,49940,604,47516,561,0001,035,0002,285,568
2Jan 1, 2023 21:525,50140,755,68017,603,00002,285,568
3Jan 1, 2023 21:525,52050,923,04516,625,0001,039,0002,269,184
4Jan 1, 2023 21:525,53645,554,51616,673,0001,042,0002,527,232
5Jan 1, 2023 21:525,55147,848,30616,718,0001,044,0002,285,568
6Jan 1, 2023 21:525,58338,770,44917,864,00002,269,184
7Jan 1, 2023 21:525,58744,173,06115,892,0001,986,0002,347,008
8Jan 1, 2023 21:525,59351,255,05417,899,00002,285,568
9Jan 1, 2023 21:525,59544,235,47216,910,000994,0002,527,232
10Jan 1, 2023 21:525,81251,116,47018,597,78902,297,856
11Jan 1, 2023 21:525,87284,806,91118,790,21402,306,048
12Jan 1, 2023 21:525,98281,742,40419,141,46502,297,856