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 2, 2023 16:21Jack FrigaardJack FrigaardScore: 5,432Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:215,23141,599,49515,692,0001,046,0002,269,184
2Jan 2, 2023 16:215,27148,478,10414,883,0001,984,0002,269,184
3Jan 2, 2023 16:215,27533,921,78814,895,0001,986,0002,285,568
4Jan 2, 2023 16:215,27735,728,28014,900,0001,986,0002,285,568
5Jan 2, 2023 16:215,33746,367,43315,070,0002,009,0002,285,568
6Jan 2, 2023 16:215,41236,311,69016,301,0001,018,0002,269,184
7Jan 2, 2023 16:215,43240,178,04015,338,0002,045,0002,285,568
8Jan 2, 2023 16:215,44440,430,21116,397,0001,024,0002,355,200
9Jan 2, 2023 16:215,46838,209,10516,468,0001,029,0002,277,376
10Jan 2, 2023 16:215,54578,802,01817,743,53802,297,856
11Jan 2, 2023 16:215,54785,142,87617,751,80402,297,856
12Jan 2, 2023 16:215,70084,589,78418,239,58002,297,856