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 29, 2024 20:05AnSaAnSaScore: 4,907Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2024 20:064,88037,292,09115,616,00002,387,968
2Jun 29, 2024 20:054,88243,956,35015,623,00002,379,776
3Jun 29, 2024 20:064,88248,661,30214,580,0001,041,0002,379,776
4Jun 29, 2024 20:064,88342,855,40114,586,0001,041,0002,375,680
5Jun 29, 2024 20:064,88341,857,92614,583,0001,041,0002,375,680
6Jun 29, 2024 20:054,88543,746,73815,631,00002,383,872
7Jun 29, 2024 20:054,88933,185,08015,646,00002,379,776
8Jun 29, 2024 20:054,89231,357,15514,611,0001,043,0002,392,064
9Jun 29, 2024 20:064,89436,017,81115,660,00002,265,088
10Jun 29, 2024 20:054,89835,778,40514,630,0001,045,0002,265,088
11Jun 29, 2024 20:064,89835,664,95615,672,00002,265,088
12Jun 29, 2024 20:054,90442,811,44814,646,0001,046,0002,269,184
13Jun 29, 2024 20:054,90733,581,71214,655,0001,046,0002,379,776
14Jun 29, 2024 20:064,91045,014,63214,664,0001,047,0002,387,968
15Jun 29, 2024 20:064,91442,239,42614,677,0001,048,0002,383,872
16Jun 29, 2024 20:064,91842,939,62615,737,00002,383,872
17Jun 29, 2024 20:054,96130,056,38114,882,000992,0002,265,088
18Jun 29, 2024 20:054,96330,522,35414,891,000992,0002,523,136
19Jun 29, 2024 20:065,10156,824,16416,323,08702,273,280
20Jun 29, 2024 20:065,10391,244,75716,330,19302,396,160
21Jun 29, 2024 20:055,13461,381,51816,427,78202,273,280
22Jun 29, 2024 20:065,15089,593,06816,480,42402,269,184
23Jun 29, 2024 20:055,15594,800,06016,495,37002,285,568
24Jun 29, 2024 20:055,17677,529,47916,561,61102,273,280