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 listJan 22, 2024 09:15Alexander MonakovAlexander MonakovScore: 4,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:154,65739,561,92514,903,00002,277,376
2Jan 22, 2024 09:154,66430,211,19113,931,000995,0002,277,376
3Jan 22, 2024 09:154,66830,885,78913,942,000995,0002,277,376
4Jan 22, 2024 09:154,67138,528,11713,952,000996,0002,277,376
5Jan 22, 2024 09:154,67838,762,27413,973,000998,0002,486,272
6Jan 22, 2024 09:154,68134,977,89413,981,000998,0002,277,376
7Jan 22, 2024 09:154,68330,510,43513,986,000999,0002,277,376
8Jan 22, 2024 09:154,68636,215,03013,996,000999,0002,494,464
9Jan 22, 2024 09:154,69138,666,26813,011,0002,001,0002,486,272
10Jan 22, 2024 09:154,88782,224,58715,638,58702,256,896
11Jan 22, 2024 09:154,90678,836,37115,698,55402,244,608
12Jan 22, 2024 09:154,93797,888,43615,798,51402,248,704