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 listFeb 23, 2023 12:14DarkclainerDarkclainerScore: 5,221Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 12:145,17544,249,24216,561,00002,531,328
2Feb 23, 2023 12:145,18345,734,20415,550,0001,036,0002,531,328
3Feb 23, 2023 12:145,18735,541,01216,599,00002,531,328
4Feb 23, 2023 12:145,19236,619,62815,577,0001,038,0002,269,184
5Feb 23, 2023 12:145,19933,307,39816,636,00002,269,184
6Feb 23, 2023 12:145,21541,144,25615,645,0001,043,0002,269,184
7Feb 23, 2023 12:145,22133,611,59916,706,00002,269,184
8Feb 23, 2023 12:145,27142,036,97714,882,0001,984,0002,269,184
9Feb 23, 2023 12:145,27533,309,80216,879,00002,383,872
10Feb 23, 2023 12:145,39391,620,57517,256,44102,244,608
11Feb 23, 2023 12:145,39860,859,87617,272,12202,240,512
12Feb 23, 2023 12:145,40480,473,75517,293,59302,244,608