2 ms·I have an O(1) then!by hoseja 7y agoI have an O(1) then!ColinWright 7y agoGiven that you have to read and then write each digit of the input I find it hard to believe that you have an O(1) algorithm - can you tell us what it is?Yajirobe 7y agoTake a photo of the input on the tape and print the photo.mratsim 7y agoDepending of the size of the prime you might need to take multiple photos.hoseja 7y agoPrint "1", thought that would be obvious...