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,457Success
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,43033,578,92212,150,0002,025,0002,281,472
2Jul 24, 2022 12:084,43530,277,75912,166,0002,027,0002,449,408
3Jul 24, 2022 12:084,43732,962,79912,171,0002,028,0002,449,408
4Jul 24, 2022 12:084,44127,641,30512,182,0002,030,0002,281,472
5Jul 24, 2022 12:084,44337,755,50512,186,0002,031,0002,281,472
6Jul 24, 2022 12:084,45430,299,09712,218,0002,036,0002,277,376
7Jul 24, 2022 12:084,45734,084,56812,225,0002,037,0002,441,216
8Jul 24, 2022 12:084,45934,929,22213,249,0001,019,0002,281,472
9Jul 24, 2022 12:084,47325,009,50913,293,0001,022,0002,281,472
10Jul 24, 2022 12:084,69193,211,83415,011,04702,260,992
11Jul 24, 2022 12:084,70483,600,10615,051,73202,203,648
12Jul 24, 2022 12:084,71479,728,36415,084,52402,207,744