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 listSep 18, 2024 11:23Matvey BunosMatvey BunosScore: 5,900Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 18, 2024 11:235,89250,035,28316,869,0001,984,0002,273,280
2Sep 18, 2024 11:235,89447,330,95516,877,0001,985,0002,379,776
3Sep 18, 2024 11:235,89545,211,73115,886,0002,978,0002,531,328
4Sep 18, 2024 11:235,89950,288,70915,898,0002,980,0002,277,376
5Sep 18, 2024 11:235,90042,932,24716,892,0001,987,0002,289,664
6Sep 18, 2024 11:235,90048,630,18816,892,0001,987,0002,277,376
7Sep 18, 2024 11:235,91155,564,26216,925,0001,991,0002,277,376
8Sep 18, 2024 11:235,92742,761,47916,971,0001,996,0002,273,280
9Sep 18, 2024 11:235,93545,845,61916,993,0001,999,0002,265,088