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 listJun 30, 2023 17:42Alexander MonakovAlexander MonakovScore: 4,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2023 17:424,50040,640,08814,399,00002,277,376
2Jun 30, 2023 17:424,50929,162,09714,430,00002,277,376
3Jun 30, 2023 17:424,51229,363,47514,437,00002,277,376
4Jun 30, 2023 17:424,51233,058,15513,406,0001,031,0002,473,984
5Jun 30, 2023 17:424,51626,601,77914,451,00002,527,232
6Jun 30, 2023 17:424,51836,781,88514,457,00002,473,984
7Jun 30, 2023 17:424,52634,437,68014,483,00002,277,376
8Jun 30, 2023 17:424,52935,073,30014,494,00002,478,080
9Jun 30, 2023 17:424,53231,766,28413,466,0001,035,0002,535,424
10Jun 30, 2023 17:424,53433,069,51514,509,00002,478,080
11Jun 30, 2023 17:424,53836,138,25414,522,00002,469,888
12Jun 30, 2023 17:424,54028,553,52014,527,00002,473,984
13Jun 30, 2023 17:424,54032,589,08414,527,00002,473,984
14Jun 30, 2023 17:424,54839,612,36314,555,00002,277,376
15Jun 30, 2023 17:424,55132,903,37514,563,00002,277,376
16Jun 30, 2023 17:424,56133,654,81213,554,0001,042,0002,469,888
17Jun 30, 2023 17:424,56135,563,97113,552,0001,042,0002,473,984
18Jun 30, 2023 17:424,56933,394,23014,622,00002,478,080
19Jun 30, 2023 17:424,771104,191,60815,266,81002,228,224
20Jun 30, 2023 17:424,77889,249,68615,289,14202,220,032
21Jun 30, 2023 17:424,79586,373,77415,343,54502,224,128
22Jun 30, 2023 17:424,80390,733,55615,369,61002,211,840
23Jun 30, 2023 17:424,81892,947,76915,416,17802,211,840
24Jun 30, 2023 17:424,84888,327,67115,514,05702,211,840