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 29, 2025 06:39Ilya TocarIlya TocarScore: 11,764Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2025 06:3911,63265,586,3767,042,00030,180,0002,510,848
2Jan 29, 2025 06:3911,68065,037,5329,091,00028,284,0002,523,136
3Jan 29, 2025 06:3911,70464,381,52013,159,00024,295,0002,265,088
4Jan 29, 2025 06:3911,72660,593,9716,085,00031,439,0002,289,664
5Jan 29, 2025 06:3911,76465,243,8835,087,00032,557,0002,289,664
6Jan 29, 2025 06:3911,82868,825,1767,968,00029,882,0002,265,088
7Jan 29, 2025 06:3911,83761,813,8766,977,00030,900,0002,289,664
8Jan 29, 2025 06:3912,00858,050,1567,078,00031,346,0002,355,200
9Jan 29, 2025 06:3912,01064,279,89814,159,00024,274,0002,289,664