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 listJul 24, 2022 11:02Robert BurkeRobert BurkeScore: 4,487Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 11:024,45432,893,63612,217,0002,036,0002,445,312
2Jul 24, 2022 11:024,47428,534,77513,296,0001,022,0002,445,312
3Jul 24, 2022 11:024,47536,991,50913,297,0001,022,0002,445,312
4Jul 24, 2022 11:024,47728,198,27813,302,0001,023,0002,453,504
5Jul 24, 2022 11:024,47928,999,58413,309,0001,023,0002,281,472
6Jul 24, 2022 11:024,48230,358,96313,318,0001,024,0002,281,472
7Jul 24, 2022 11:024,48734,356,29213,334,0001,025,0002,281,472
8Jul 24, 2022 11:024,50535,154,74813,386,0001,029,0002,277,376
9Jul 24, 2022 11:024,54939,771,25813,586,000970,0002,281,472
10Jul 24, 2022 11:024,72379,712,76615,114,14402,199,552
11Jul 24, 2022 11:024,73076,216,37315,137,31402,195,456
12Jul 24, 2022 11:024,74186,148,73515,171,77002,199,552