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 20:27Alexander KimAlexander KimScore: 5,664Success
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 20:275,64045,105,75617,047,0001,002,0002,535,424
2Jan 2, 2023 20:275,64044,712,69016,044,0002,005,0002,334,720
3Jan 2, 2023 20:275,64642,608,71216,061,0002,007,0002,334,720
4Jan 2, 2023 20:275,65232,255,57116,077,0002,009,0002,334,720
5Jan 2, 2023 20:275,65334,681,57117,085,0001,005,0002,334,720
6Jan 2, 2023 20:275,65641,398,48617,036,0001,064,0002,334,720
7Jan 2, 2023 20:275,66435,549,16016,111,0002,013,0002,531,328
8Jan 2, 2023 20:275,66943,600,46416,127,0002,015,0002,334,720
9Jan 2, 2023 20:275,67543,213,47717,152,0001,008,0002,535,424
10Jan 2, 2023 20:275,71188,296,72718,273,86802,244,608
11Jan 2, 2023 20:275,74580,160,02518,382,59402,240,512
12Jan 2, 2023 20:275,76091,862,30918,431,72002,244,608