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 listAug 7, 2024 02:09zielajzielajScore: 4,570Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 02:094,54635,913,70913,508,0001,039,0002,285,568
2Aug 7, 2024 02:094,54929,945,22714,558,00002,269,184
3Aug 7, 2024 02:094,55329,084,18314,568,00002,273,280
4Aug 7, 2024 02:094,55642,982,65613,537,0001,041,0002,265,088
5Aug 7, 2024 02:094,56431,897,63214,604,00002,289,664
6Aug 7, 2024 02:094,56931,891,98013,576,0001,044,0002,289,664
7Aug 7, 2024 02:094,57030,517,16513,579,0001,044,0002,375,680
8Aug 7, 2024 02:094,57832,720,15413,604,0001,046,0002,289,664
9Aug 7, 2024 02:094,64832,334,83712,891,0001,983,0002,265,088
10Aug 7, 2024 02:094,79778,812,76915,350,72602,179,072
11Aug 7, 2024 02:094,84070,919,52415,488,85402,301,952
12Aug 7, 2024 02:094,84481,665,37815,500,48902,179,072