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 listJan 1, 2023 21:36Jack FrigaardJack FrigaardScore: 5,820Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 21:365,68339,970,37016,164,0002,020,0002,277,376
2Jan 1, 2023 21:365,70434,709,02915,210,0003,042,0002,277,376
3Jan 1, 2023 21:365,72342,376,22515,261,0003,052,0002,281,472
4Jan 1, 2023 21:365,75441,309,30317,391,0001,023,0002,269,184
5Jan 1, 2023 21:365,77342,892,87617,448,0001,026,0002,277,376
6Jan 1, 2023 21:365,81043,115,97417,559,0001,032,0002,277,376
7Jan 1, 2023 21:365,82042,805,89918,624,00002,277,376
8Jan 1, 2023 21:365,84036,122,87418,687,00002,281,472
9Jan 1, 2023 21:365,84745,534,30215,592,0003,118,0002,277,376
10Jan 1, 2023 21:366,14170,737,58519,651,99102,174,976
11Jan 1, 2023 21:366,14658,918,66819,666,93402,174,976
12Jan 1, 2023 21:366,39165,109,04220,452,69902,301,952