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 2, 2023 14:43Jack FrigaardJack FrigaardScore: 5,510Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 14:435,45744,737,28316,435,0001,027,0002,281,472
2Jan 2, 2023 14:435,46540,815,72016,459,0001,028,0002,285,568
3Jan 2, 2023 14:435,47043,516,79116,475,0001,029,0002,285,568
4Jan 2, 2023 14:435,47439,661,91316,488,0001,030,0002,269,184
5Jan 2, 2023 14:435,48039,579,42816,506,0001,031,0002,371,584
6Jan 2, 2023 14:435,48437,085,02816,516,0001,032,0002,269,184
7Jan 2, 2023 14:435,51046,007,01516,595,0001,037,0002,535,424
8Jan 2, 2023 14:435,51339,481,49216,603,0001,037,0002,277,376
9Jan 2, 2023 14:435,51346,806,11517,642,00002,285,568
10Jan 2, 2023 14:435,67994,991,27818,174,22702,297,856
11Jan 2, 2023 14:435,69162,163,54318,209,90502,301,952
12Jan 2, 2023 14:435,69292,965,37318,212,96502,297,856