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 25, 2023 22:17Andranik ChakiryanAndranik ChakiryanScore: 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
1Feb 25, 2023 22:175,57045,562,24015,843,0001,980,0002,342,912
2Feb 25, 2023 22:175,57342,056,94017,833,00002,342,912
3Feb 25, 2023 22:175,58242,557,68615,878,0001,984,0002,342,912
4Feb 25, 2023 22:175,58447,536,60017,868,00002,342,912
5Feb 25, 2023 22:175,58444,844,37616,878,000992,0002,351,104
6Feb 25, 2023 22:175,58849,084,66415,894,0001,986,0002,342,912
7Feb 25, 2023 22:175,58937,623,04716,893,000993,0002,355,200
8Feb 25, 2023 22:175,59045,866,28716,894,000993,0002,482,176
9Feb 25, 2023 22:175,60046,338,37415,929,0001,991,0002,359,296
10Feb 25, 2023 22:175,63286,866,15218,022,73502,183,168
11Feb 25, 2023 22:175,64465,677,91018,059,56502,187,264
12Feb 25, 2023 22:175,69582,631,74418,223,53602,183,168