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 listMar 24, 2025 11:51AlexAlexScore: 5,989Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 18, 2025 16:575,96337,714,17018,076,0001,004,0002,277,376
2Feb 18, 2025 16:575,97145,610,42917,095,0002,011,0002,277,376
3Feb 18, 2025 16:575,97143,151,54617,097,0002,011,0002,269,184
4Feb 18, 2025 16:575,97541,364,92817,109,0002,012,0002,277,376
5Feb 18, 2025 16:575,98346,967,18917,132,0002,015,0002,281,472
6Mar 24, 2025 11:515,98639,932,85317,138,0002,016,0002,277,376
7Mar 24, 2025 11:515,98938,619,06517,148,0002,017,0002,277,376
8Feb 18, 2025 16:575,99038,875,32417,151,0002,017,0002,367,488
9Feb 18, 2025 16:575,99246,774,87417,155,0002,018,0002,277,376
10Feb 18, 2025 16:575,99944,083,46217,178,0002,020,0002,277,376
11Feb 18, 2025 16:576,00141,626,42317,183,0002,021,0002,277,376
12Mar 24, 2025 11:516,01336,421,20517,218,0002,025,0002,269,184