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 27, 2022 14:33Robert BurkeRobert BurkeScore: 4,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 14:334,43229,342,87512,157,0002,026,0002,281,472
2Jul 27, 2022 14:334,45329,818,71513,232,0001,017,0002,445,312
3Jul 27, 2022 14:334,45734,685,15313,243,0001,018,0002,281,472
4Jul 27, 2022 14:334,45832,669,68913,247,0001,019,0002,281,472
5Jul 27, 2022 14:334,46931,612,10613,279,0001,021,0002,281,472
6Jul 27, 2022 14:334,47230,467,12313,289,0001,022,0002,281,472
7Jul 27, 2022 14:334,47533,348,17213,298,0001,022,0002,281,472
8Jul 27, 2022 14:334,47928,914,72913,309,0001,023,0002,277,376
9Jul 27, 2022 14:334,48030,063,48413,313,0001,024,0002,281,472
10Jul 27, 2022 14:334,69692,145,25315,026,14602,195,456
11Jul 27, 2022 14:334,70577,580,59115,055,87102,211,840
12Jul 27, 2022 14:334,77772,702,32115,284,88102,211,840