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 listNov 10, 2024 14:07Viktor SuprunViktor SuprunScore: 5,928Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2024 14:075,91247,148,24116,928,0001,991,0002,408,448
2Nov 10, 2024 15:295,91440,640,61015,936,0002,988,0002,408,448
3Nov 10, 2024 14:075,91543,437,56516,935,0001,992,0002,408,448
4Nov 10, 2024 15:295,91548,363,35416,935,0001,992,0002,367,488
5Nov 10, 2024 15:295,91844,288,41115,947,0002,990,0002,367,488
6Nov 10, 2024 15:295,91848,119,04015,948,0002,990,0002,367,488
7Nov 10, 2024 15:295,92335,055,56515,962,0002,992,0002,408,448
8Nov 10, 2024 14:075,92645,369,05617,966,000998,0002,408,448
9Nov 10, 2024 15:295,92737,347,47215,972,0002,994,0002,367,488
10Nov 10, 2024 14:075,92838,101,33215,974,0002,995,0002,367,488
11Nov 10, 2024 14:075,93140,716,92115,982,0002,996,0002,404,352
12Nov 10, 2024 15:295,93146,881,23015,982,0002,996,0002,367,488
13Nov 10, 2024 14:075,94148,135,13016,010,0003,001,0002,342,912
14Nov 10, 2024 14:075,94643,543,99016,022,0003,004,0002,404,352
15Nov 10, 2024 14:075,94647,282,89217,025,0002,003,0002,367,488
16Nov 10, 2024 15:295,95345,594,96916,041,0003,007,0002,408,448
17Nov 10, 2024 14:075,95847,741,00717,058,0002,006,0002,367,488
18Nov 10, 2024 15:295,97439,030,76316,100,0003,018,0002,367,488