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 15, 2024 09:11CalCalScore: 5,646Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 09:115,59739,982,79315,920,0001,990,0002,269,184
2Jan 15, 2024 09:115,60238,365,94315,934,0001,991,0002,404,352
3Jan 15, 2024 09:115,62041,045,56416,986,000999,0002,260,992
4Jan 15, 2024 09:115,62239,205,67516,990,000999,0002,273,280
5Jan 15, 2024 09:115,62339,397,83014,995,0002,999,0002,269,184
6Jan 15, 2024 09:115,63441,020,75316,025,0002,003,0002,404,352
7Jan 15, 2024 09:115,64642,143,22816,059,0002,007,0002,396,160
8Jan 15, 2024 09:115,65842,159,23716,094,0002,011,0002,400,256
9Jan 15, 2024 09:115,67239,162,41216,134,0002,016,0002,400,256
10Jan 15, 2024 09:115,83894,987,93518,681,69002,297,856
11Jan 15, 2024 09:115,85379,109,09618,729,05302,297,856
12Jan 15, 2024 09:115,87589,685,45318,800,27502,297,856