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:45Jack FrigaardJack FrigaardScore: 5,638Success
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:455,58844,260,26415,895,0001,986,0002,285,568
2Jan 1, 2023 21:455,58942,495,12515,898,0001,987,0002,535,424
3Jan 1, 2023 21:455,59244,990,79016,900,000994,0002,523,136
4Jan 1, 2023 21:455,60442,908,83015,942,0001,992,0002,277,376
5Jan 1, 2023 21:455,62442,485,38815,997,0001,999,0002,527,232
6Jan 1, 2023 21:455,63342,430,71916,023,0002,002,0002,527,232
7Jan 1, 2023 21:455,63845,417,80517,041,0001,002,0002,269,184
8Jan 1, 2023 21:455,65446,196,50716,082,0002,010,0002,285,568
9Jan 1, 2023 21:455,67747,977,27216,147,0002,018,0002,523,136
10Jan 1, 2023 21:455,97776,019,32519,127,78202,256,896
11Jan 1, 2023 21:456,00282,249,27019,207,43802,293,760
12Jan 1, 2023 21:456,22961,997,05119,934,22302,297,856