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 listApr 27, 2025 10:11Divyansh MittalDivyansh MittalScore: 2,970,714Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 10:112,944,9249,456,463,7799,386,775,00036,983,0002,285,568
2Apr 27, 2025 10:112,953,2799,476,556,9059,417,507,00032,987,0002,519,040
3Apr 27, 2025 10:112,958,3459,492,636,3619,433,719,00032,985,0002,277,376
4Apr 27, 2025 10:112,970,5139,534,768,8499,473,656,00031,985,0002,260,992
5Apr 27, 2025 10:112,970,7149,532,982,1019,474,298,00031,987,0002,510,848
6Apr 27, 2025 10:112,972,8999,543,164,6499,474,296,00038,980,0002,273,280
7Apr 27, 2025 10:112,972,9259,547,166,7019,478,377,00034,982,0002,277,376
8Apr 27, 2025 10:113,013,3179,670,300,1139,616,627,00025,988,0002,285,568
9Apr 27, 2025 10:113,089,6689,914,081,7889,858,949,00027,988,0002,277,376