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 16, 2024 14:48AnSaAnSaScore: 5,742Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 14:485,69239,762,38816,190,0002,023,0002,273,280
2Jun 16, 2024 14:485,71142,911,90616,244,0002,030,0002,281,472
3Jun 16, 2024 14:485,71341,193,26016,250,0002,031,0002,281,472
4Jun 16, 2024 14:485,72740,585,15417,309,0001,018,0002,289,664
5Jun 16, 2024 14:485,73443,770,38316,310,0002,038,0002,289,664
6Jun 16, 2024 14:485,74035,071,09616,327,0002,040,0002,281,472
7Jun 16, 2024 14:485,74236,653,91515,311,0003,062,0002,281,472
8Jun 16, 2024 14:485,74240,818,97317,354,0001,020,0002,281,472
9Jun 16, 2024 14:485,74848,107,85016,349,0002,043,0002,281,472
10Jun 16, 2024 14:486,05379,111,15219,369,78302,174,976
11Jun 16, 2024 14:486,05396,422,89719,369,23802,301,952
12Jun 16, 2024 14:486,06275,730,72019,398,60902,301,952