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 12:08Robert BurkeRobert BurkeScore: 4,451Success
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 12:084,42834,100,96012,146,0002,024,0002,449,408
2Jul 24, 2022 12:084,42934,650,02412,148,0002,024,0002,441,216
3Jul 24, 2022 12:084,43534,762,14312,165,0002,027,0002,453,504
4Jul 24, 2022 12:084,44435,036,44012,190,0002,031,0002,281,472
5Jul 24, 2022 12:084,44427,760,46912,190,0002,031,0002,453,504
6Jul 24, 2022 12:084,44631,876,36912,194,0002,032,0002,449,408
7Jul 24, 2022 12:084,45133,003,26412,208,0002,034,0002,453,504
8Jul 24, 2022 12:084,45326,319,63112,215,0002,035,0002,281,472
9Jul 24, 2022 12:084,45733,475,59413,244,0001,018,0002,281,472
10Jul 24, 2022 12:084,68362,564,10214,985,25102,199,552
11Jul 24, 2022 12:084,687101,244,79914,998,74002,211,840
12Jul 24, 2022 12:084,698109,156,28215,034,20202,203,648