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 listJul 14, 2024 12:15kytanskytansScore: 5,370Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 12:145,32733,364,77115,042,0002,005,0002,498,560
2Jul 14, 2024 12:155,33433,874,47416,066,0001,004,0002,531,328
3Jul 14, 2024 12:145,33638,933,96416,072,0001,004,0002,494,464
4Jul 14, 2024 12:155,34632,544,22015,095,0002,012,0002,269,184
5Jul 14, 2024 12:145,34941,705,14215,103,0002,013,0002,494,464
6Jul 14, 2024 12:145,35141,779,16316,117,0001,007,0002,527,232
7Jul 14, 2024 12:155,35143,237,74516,115,0001,007,0002,265,088
8Jul 14, 2024 12:145,35235,155,85116,118,0001,007,0002,269,184
9Jul 14, 2024 12:155,35340,689,28415,115,0002,015,0002,269,184
10Jul 14, 2024 12:155,35540,493,32516,128,0001,008,0002,502,656
11Jul 14, 2024 12:145,35938,519,84016,140,0001,008,0002,506,752
12Jul 14, 2024 12:155,36441,207,17616,157,0001,009,0002,494,464
13Jul 14, 2024 12:155,37035,657,22516,175,0001,010,0002,531,328
14Jul 14, 2024 12:155,37249,121,49216,180,0001,011,0002,498,560
15Jul 14, 2024 12:145,37237,846,65716,180,0001,011,0002,531,328
16Jul 14, 2024 12:155,38337,936,81816,212,0001,013,0002,269,184
17Jul 14, 2024 12:145,38332,156,84515,198,0002,026,0002,494,464
18Jul 14, 2024 12:145,38841,618,28516,229,0001,014,0002,494,464
19Jul 14, 2024 12:155,63664,663,49418,034,62602,244,608
20Jul 14, 2024 12:145,63766,834,80418,039,50102,244,608
21Jul 14, 2024 12:155,63984,540,50218,045,17302,240,512
22Jul 14, 2024 12:145,66358,597,13818,121,65302,371,584
23Jul 14, 2024 12:155,67498,945,08018,156,26202,240,512
24Jul 14, 2024 12:145,68291,222,75318,182,39802,248,704