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 8, 2023 16:26Giga BowserGiga BowserScore: 5,536Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 16:265,47643,097,98616,492,0001,030,0002,289,664
2Jul 8, 2023 16:265,48139,809,59716,508,0001,031,0002,265,088
3Jul 8, 2023 16:265,50043,122,27216,566,0001,035,0002,277,376
4Jul 8, 2023 16:265,50337,322,66217,611,00002,273,280
5Jul 8, 2023 16:265,51238,423,14817,639,00002,531,328
6Jul 8, 2023 16:265,53241,297,13317,703,00002,289,664
7Jul 8, 2023 16:265,53644,345,45216,673,0001,042,0002,289,664
8Jul 8, 2023 16:265,54545,259,11316,759,000985,0002,289,664
9Jul 8, 2023 16:265,58747,032,76915,892,0001,986,0002,289,664
10Jul 8, 2023 16:265,67082,191,58818,144,99302,301,952
11Jul 8, 2023 16:265,69392,061,62418,217,54002,293,760
12Jul 8, 2023 16:265,71173,850,51118,274,29102,297,856