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 24, 2024 15:52zielajzielajScore: 4,174Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2024 15:524,13639,218,26813,235,00002,269,184
2Aug 24, 2024 15:524,14127,353,79113,252,00002,498,560
3Aug 24, 2024 15:524,14431,482,66013,261,00002,494,464
4Aug 24, 2024 15:524,15525,671,35013,296,00002,269,184
5Aug 24, 2024 15:524,15525,175,98313,295,00002,531,328
6Aug 24, 2024 15:524,15730,305,38413,302,00002,269,184
7Aug 24, 2024 15:524,15727,758,51112,280,0001,023,0002,486,272
8Aug 24, 2024 15:524,15833,833,12013,307,00002,531,328
9Aug 24, 2024 15:524,15929,851,56813,310,00002,269,184
10Aug 24, 2024 15:524,16234,123,63513,319,00002,490,368
11Aug 24, 2024 15:524,16728,193,83913,334,00002,498,560
12Aug 24, 2024 15:524,17032,198,59313,345,00002,269,184
13Aug 24, 2024 15:524,17432,434,15513,358,00002,269,184
14Aug 24, 2024 15:524,17425,645,82013,358,00002,269,184
15Aug 24, 2024 15:524,18926,584,45412,373,0001,031,0002,277,376
16Aug 24, 2024 15:524,19331,482,54613,418,00002,531,328
17Aug 24, 2024 15:524,20234,061,62813,446,00002,531,328
18Aug 24, 2024 15:524,20432,772,42113,453,00002,269,184
19Aug 24, 2024 15:524,41180,999,39414,114,64202,269,184
20Aug 24, 2024 15:524,42871,908,40114,170,64802,240,512
21Aug 24, 2024 15:524,43459,608,43114,188,33902,363,392
22Aug 24, 2024 15:524,44693,233,65514,226,17502,240,512
23Aug 24, 2024 15:524,45771,255,39314,263,74702,371,584
24Aug 24, 2024 15:524,46466,061,88714,284,53202,367,488