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 listMay 16, 2021 16:01Yuriy LyfenkoYuriy LyfenkoScore: 5,467Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 16:015,42234,714,23615,310,0002,041,0002,519,040
2May 16, 2021 16:015,42642,962,72416,342,0001,021,0002,519,040
3May 16, 2021 16:015,43332,467,59715,339,0002,045,0002,265,088
4May 16, 2021 16:015,44142,491,33816,387,0001,024,0002,519,040
5May 16, 2021 16:015,44746,459,21416,404,0001,025,0002,379,776
6May 16, 2021 16:015,45039,986,26216,415,0001,025,0002,387,968
7May 16, 2021 16:015,45133,448,33717,442,00002,396,160
8May 16, 2021 16:015,45847,860,49817,466,00002,519,040
9May 16, 2021 16:015,45938,934,74716,443,0001,027,0002,519,040
10May 16, 2021 16:015,46042,328,80116,445,0001,027,0002,519,040
11May 16, 2021 16:015,46242,183,83415,421,0002,056,0002,387,968
12May 16, 2021 16:015,46539,040,21715,432,0002,057,0002,392,064
13May 16, 2021 16:015,46739,723,02216,466,0001,029,0002,519,040
14May 16, 2021 16:015,46833,092,54117,499,00002,519,040
15May 16, 2021 16:015,46940,874,23815,442,0002,058,0002,379,776
16May 16, 2021 16:015,47334,307,35317,512,00002,519,040
17May 16, 2021 16:015,48545,138,78416,521,0001,032,0002,265,088
18May 16, 2021 16:015,48638,620,27017,554,00002,383,872
19May 16, 2021 16:015,66866,979,79818,136,88502,293,760
20May 16, 2021 16:015,68278,237,20618,182,21202,269,184
21May 16, 2021 16:015,70875,710,54118,264,46402,285,568
22May 16, 2021 16:015,71886,608,07918,297,02502,277,376
23May 16, 2021 16:015,74680,120,38118,387,54402,285,568
24May 16, 2021 16:015,75386,557,52818,409,21802,281,472