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 6, 2024 03:07Nao YonashiroNao YonashiroScore: 4,430Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 03:074,39838,816,87712,062,0002,010,0002,437,120
2Aug 6, 2024 03:074,40429,937,50512,079,0002,013,0002,535,424
3Aug 6, 2024 08:454,40831,297,43612,090,0002,015,0002,523,136
4Aug 6, 2024 08:454,40829,288,57512,091,0002,015,0002,535,424
5Aug 6, 2024 03:074,41131,599,74012,100,0002,016,0002,273,280
6Aug 6, 2024 08:454,41228,046,71512,101,0002,016,0002,273,280
7Aug 6, 2024 03:074,41334,474,82412,104,0002,017,0002,535,424
8Aug 6, 2024 08:454,41431,440,01612,108,0002,018,0002,535,424
9Aug 6, 2024 08:454,41831,538,80812,118,0002,019,0002,453,504
10Aug 6, 2024 03:074,42233,663,99112,130,0002,021,0002,441,216
11Aug 6, 2024 08:454,42427,578,66712,135,0002,022,0002,445,312
12Aug 6, 2024 03:074,42834,105,83812,145,0002,024,0002,273,280
13Aug 6, 2024 03:074,43028,907,08212,150,0002,025,0002,449,408
14Aug 6, 2024 08:454,43338,153,24312,160,0002,026,0002,535,424
15Aug 6, 2024 03:074,43833,216,31712,172,0002,028,0002,445,312
16Aug 6, 2024 03:074,44030,128,20212,178,0002,029,0002,535,424
17Aug 6, 2024 08:454,44229,918,94212,183,0002,030,0002,273,280
18Aug 6, 2024 08:454,45035,372,81912,205,0002,034,0002,437,120
19Aug 6, 2024 08:454,67792,649,12514,965,14502,199,552
20Aug 6, 2024 03:074,67884,377,11014,970,07502,195,456
21Aug 6, 2024 03:074,67893,639,34014,968,60402,207,744
22Aug 6, 2024 08:454,70363,513,47515,050,00702,203,648
23Aug 6, 2024 03:074,70391,579,52515,050,25202,203,648
24Aug 6, 2024 08:454,708103,137,09515,066,03702,195,456