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 1, 2023 21:36Jack FrigaardJack FrigaardScore: 5,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:365,57235,311,72415,849,0001,981,0002,289,664
2Jan 1, 2023 21:365,57542,536,05215,857,0001,982,0002,289,664
3Jan 1, 2023 21:365,58245,504,70416,869,000992,0002,277,376
4Jan 1, 2023 21:365,58636,276,30815,890,0001,986,0002,269,184
5Jan 1, 2023 21:365,58844,582,58815,895,0001,986,0002,277,376
6Jan 1, 2023 21:365,58950,506,65415,897,0001,987,0002,269,184
7Jan 1, 2023 21:365,62435,543,19815,999,0001,999,0002,277,376
8Jan 1, 2023 21:365,63340,070,60416,023,0002,002,0002,367,488
9Jan 1, 2023 21:365,65540,495,91216,087,0002,010,0002,289,664
10Jan 1, 2023 21:365,90877,342,04018,904,30802,179,072
11Jan 1, 2023 21:365,92356,446,57418,953,28202,293,760
12Jan 1, 2023 21:366,12564,331,58319,601,17302,174,976