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 listAug 20, 2022 12:56Eugene ZhydzetskiEugene ZhydzetskiScore: 5,995Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 12:565,95145,990,27318,042,0001,002,0002,334,720
2Aug 20, 2022 12:565,95645,585,03818,056,0001,003,0002,527,232
3Aug 20, 2022 12:565,95744,628,11918,059,0001,003,0002,334,720
4Aug 20, 2022 12:565,97038,771,63718,098,0001,005,0002,334,720
5Aug 20, 2022 12:565,97845,914,42117,117,0002,013,0002,531,328
6Aug 20, 2022 12:565,98447,488,34118,141,0001,007,0002,334,720
7Aug 20, 2022 12:565,99548,218,03618,176,0001,009,0002,535,424
8Aug 20, 2022 12:566,01666,415,28819,250,59902,252,800
9Aug 20, 2022 12:566,02440,387,80118,264,0001,014,0002,375,680
10Aug 20, 2022 12:566,03042,882,58917,265,0002,031,0002,334,720
11Aug 20, 2022 12:566,03482,704,36419,308,68502,244,608
12Aug 20, 2022 12:566,15183,869,61219,683,13402,240,512