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 10:44Robert BurkeRobert BurkeScore: 4,500Success
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 10:444,47333,851,99913,290,0001,022,0002,281,472
2Jul 24, 2022 10:444,47733,487,98213,303,0001,023,0002,453,504
3Jul 24, 2022 10:444,47932,135,80913,309,0001,023,0002,449,408
4Jul 24, 2022 10:444,48737,041,26813,333,0001,025,0002,281,472
5Jul 24, 2022 10:444,48938,786,46213,340,0001,026,0002,281,472
6Jul 24, 2022 10:444,49536,821,50513,358,0001,027,0002,281,472
7Jul 24, 2022 10:444,50028,042,37513,372,0001,028,0002,277,376
8Jul 24, 2022 10:444,50031,724,63813,372,0001,028,0002,281,472
9Jul 24, 2022 10:444,52745,309,22813,452,0001,034,0002,445,312
10Jul 24, 2022 10:444,73277,171,77215,142,42602,211,840
11Jul 24, 2022 10:444,73678,292,20115,154,15602,199,552
12Jul 24, 2022 10:444,73876,408,47015,161,59002,211,840