LASTDIGIT2

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Given A and B compute the last digit of (A.A.A...B times) i.e A^B -- Deb

Please Note:This is an almost identical to http://golf.shinh.org/p.rb?The+list+digit I had made a small flaw in the first while entering the inputs,probably this time it is correct.

Regards,

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

34543232321323243242434544533445343432434311112223454323232132324324243454453344534343243431111222345432323213232432424345445334453434324343111122234543232321323243242434544533445343432434311112223454323232132324324243454453344534343243431111222345432323213232432424345445334453434324343111122234543232321323243242434544533445343432434311112223454323232132324324243454453344534343243431111222 22337254775808

6777744348435743587643756438765436574448743756437654736574365764375647563675673466375643765743657647564387578436587643587643576432756437657436574365743675476543765673546764375643875238472837589237574367564378543875643765743687564378564387654387658436587643576327463245267453265874654596743895643876547658746587643756487658437685763856437564376437648763248763847638764584376547657436587368476756487568436584736587436587643875647568476547657465874657465746547654756475587564354375674365645643675 9223376854775808


38758436543765743875437656358764347568437658743658743454354645645543532487548758475847684756897548758457843758437584758478574857438758436587436587436587643875643856783478743658743658764387564387564378658437658743658743687564387564387564765746576475647564756475465746574675647654765476547534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357 54545454123

387584365437657438754376563587643475684376587436587434543546456455435324534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357387584365437657438754376563587643475684376587436587434543546456455435324534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357387584365437657438754376563587643475684376587436587434543546456455435324534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357387584365437657438754376563587643475684376587436587434543546456455435324534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357387584365437657438754376563587643475684376587436587434543546456455435324534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357387584365437657438754376563587643475684376587436587434543546456455435324534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357387584365437657438754376563587643475684376587436587434543546456455435324534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357387584365437657438754376563587643475684376587436587434543546456455435324534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357387584365437657438754376563587643475684376587436587434543546456455435324534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357387584365437657438754376563587643475684376587436587434543546456455435324534587545689475689748574385743765874585743857843765893748643587438957458754376543265874387564384764367584375874758943267632487564357 9223372036854775808

9223372036854775808922337203685477580892233720368547758089223372036854775808922337203685477580892233720368547758089223372036854775808922337203685477580892233720368547758089223372036854775808922337203685477580892233720368547758089223372036854775808922337203685477580892233720368547758089223372036854775808922337203685477580892233720368547758089223372036854775808922337203685477580892233720368547758089223372036854775808922337203685477580892233720368547758089223372036854775808922337203685477580892233720368547758089223372036854775808922337203685477580892233720368547758089223372036854775808 2233720368547758

Sample output:

6
5
3
3
4

Sample input:_

6777744348435743587643756438765436574587564354375674365645643675 232323

37768474578437757843658764325876432875432875684376587437543756437 44545454

3454323232132324324243454453344534343243431111222 453

3454323232132324324243454453344534343243431111222 453

6777744348435743587643756438765436574587564354375674365645643675 232323

3875843654376574357 54545454

6777744348435743587643756438765436574587564354375674365645643675 232323

37768474578437757843658764325876432875432875684376587437543756437 44545454

3454323232132324324243454453344534343243431111222 453

3454323232132324324243454453344534343243431111222 453

6777744348435743587643756438765436574587564354375674365645643675 232323

3875843654376574357 545454546777744348435743587643756438765436574587564354375674365645643675 232323

37768474578437757843658764325876432875432875684376587437543756437 44545454

3454323232132324324243454453344534343243431111222 453

3454323232132324324243454453344534343243431111222 453

6777744348435743587643756438765436574587564354375674365645643675 232323

3875843654376574357 545454546777744348435743587643756438765436574587564354375674365645643675 232323

37768474578437757843658764325876432875432875684376587437543756437 44545454

3454323232132324324243454453344534343243431111222 453

3454323232132324324243454453344534343243431111222 453

6777744348435743587643756438765436574587564354375674365645643675 232323

3875843654376574357 545454546777744348435743587643756438765436574587564354375674365645643675 232323

37768474578437757843658764325876432875432875684376587437543756437 44545454

3454323232132324324243454453344534343243431111222 453

3454323232132324324243454453344534343243431111222 453

6777744348435743587643756438765436574587564354375674365645643675 232323

3875843654376574357 545454546777744348435743587643756438765436574587564354375674365645643675 232323

37768474578437757843658764325876432875432875684376587437543756437 44545454

3454323232132324324243454453344534343243431111222 453

3454323232132324324243454453344534343243431111222 453

6777744348435743587643756438765436574587564354375674365645643675 232323

3875843654376574357 54545454

Sample output:

5
9
2
2
5
9
5
9
2
2
5
3
7
4
7
7
3
5
9
2
2
5
3
7
4
7
7
3
5
9
2
2
5
9

Sample input:_

6777744348435743587643756438765436574587564354375674365645643675 232323

3875843654376574357 545454546777744348435743587643756438765436574587564354375674365645643675 232323

37768474578437757843658764325876432875432875684376587437543756437 44545454

3454323232132324324243454453344534343243431111222 453

3454323232132324324243454453344534343243431111222 453

6777744348435743587643756438765436574587564354375674365645643675 232323

3875843654376574357 545454546777744348435743587643756438765436574587564354375674365645643675 232323

37768474578437757843658764325876377684745784377578436587643253776847457843775784365876432537768474578437757843658764325432875432875684376587437543756437 44545454

3454323232132324324243454453377684745784377578436587643253776847457843775784365876432537768474578437757843658764325344534343243431111222 453

677774434843574358764375643876543657458756435437567436564564367589478945848578475847548758487548454545 232323453

3875843654376574357 545454546777744348435743587643756438765436574587564354375674365645643675 232323

37768474578437757843658764325876432875432875684376587437543756437 44545454

3454323232132324324243454453344534343243431111222 453

3454323232132324324243454453344534343243431111222 453

6777744348435743587643756438765436574587564354375674365645643675 232323

3875843654376574357 545454546777744348435743587643756438765436574587564354375674365645643675 232323

37768474578437757843658764325876377684745784377578436587643253776847457843775784365876432537768474578437757843658764325432875432875684376587437543756437 44545454

3454323232132324324243454453377684745784377578436587643253776847457843775784365876432537768474578437757843658764325344534343243431111222 453

Sample output:

5
3
7
4
7
7
3
5
9
2
5
3
7
4
7
7
3
5
9
2

Ranking

Python _

RankUserSizeTimeDateStatistics
1hallvabo (embed)790.07002011/03/27 01:10:460B / 45B / 34B
2recursive800.07242011/03/25 06:08:470B / 51B / 28B
3recursive (embed, input is inconsistent)830.06952011/03/25 05:59:050B / 54B / 29B

Icon _

RankUserSizeTimeDateStatistics
1pooq1010.05772012/04/03 08:18:350B / 81B / 16B

J _

RankUserSizeTimeDateStatistics
1pooq850.10812011/03/27 02:23:250B / 68B / 17B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai (embed)1140.11872011/03/24 17:09:050B / 72B / 39B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*2680.00122011/03/25 23:30:080B / 177B / 17B

LMNtal _

RankUserSizeTimeDateStatistics
1pooq1811.36062011/03/28 16:52:510B / 91B / 34B

Octave _

RankUserSizeTimeDateStatistics
1inaniwa(embed)921.25832011/03/26 11:55:230B / 72B / 20B

gs2 _

RankUserSizeTimeDateStatistics
1whio310.25492017/06/17 06:38:0515B / 10B / 6B

Vim _

RankUserSizeTimeDateStatistics
1udioica790.05272017/06/17 05:00:143B / 69B / 4B

Logo _

RankUserSizeTimeDateStatistics
1pooq922.50462011/03/27 02:41:550B / 81B / 5B

Language Ranking_

RankLangUserSizeScore
1gs2whio3110000
2Pythonhallvabo (embed)793924
3Vimudioica793924
4Jpooq853647
5Octaveinaniwa(embed)923369
6Logopooq923369
7Iconpooq1013069
8OCamlm.ukai (embed)1142719
9LMNtalpooq1811712
10COBOL*yuko*2681156

return to the top page