QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#319733 | #2907. Average Character | Pranav624 | AC ✓ | 11ms | 9464kb | Python3 | 90b | 2024-02-03 06:12:09 | 2024-02-03 06:12:09 |
Judging History
answer
x = input()
sum = 0
for char in x:
sum += ord(char)
print( chr(sum // len(x)))
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 11ms
memory: 9292kb
input:
ABCDE
output:
C
result:
ok single line: 'C'
Test #2:
score: 0
Accepted
time: 4ms
memory: 9348kb
input:
AbCdE
output:
O
result:
ok single line: 'O'
Test #3:
score: 0
Accepted
time: 0ms
memory: 9244kb
input:
aBcDe
output:
V
result:
ok single line: 'V'
Test #4:
score: 0
Accepted
time: 10ms
memory: 9264kb
input:
^
output:
^
result:
ok single line: '^'
Test #5:
score: 0
Accepted
time: 8ms
memory: 9336kb
input:
output:
result:
ok single line: ' '
Test #6:
score: 0
Accepted
time: 3ms
memory: 9300kb
input:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
output:
~
result:
ok single line: '~'
Test #7:
score: 0
Accepted
time: 10ms
memory: 9364kb
input:
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
output:
O
result:
ok single line: 'O'
Test #8:
score: 0
Accepted
time: 6ms
memory: 9368kb
input:
XZ*u'h=}EyojZ Kj.iqEeSpVKK1f*5nS)%6IXI=r0.P7cl}:bSsK!;Het_?(Vs?HoId!c0=sNdc76==9&.[4^qA!qx@po|;'(4Nv
output:
N
result:
ok single line: 'N'
Test #9:
score: 0
Accepted
time: 5ms
memory: 9340kb
input:
nJ,;0VhIJR7h4KJY[Vq"9U@QhcjoUA[GuC>9p%MnNLC=IjaMAm[IMln?,0R]6q>SwC$1Tfs._ %AeiK;?(^w_'=5sCnQ+h?JKE*R
output:
M
result:
ok single line: 'M'
Test #10:
score: 0
Accepted
time: 5ms
memory: 9300kb
input:
opE|z?00;6=4"K|xw0u&W*Oh?(k(t^(4i0~0yf,qd NBrQF9M3+wxW;mG/IodId=*W* },T(StgN2a$;<>Nq#]9XsxF4Uw.SEB<)
output:
L
result:
ok single line: 'L'
Test #11:
score: 0
Accepted
time: 8ms
memory: 9340kb
input:
G}2t41{mbkOx =LEs7d[az3c;KKp@[qZ<s^%^bLI_I;J043_|(oc9}>Ycc,w(~},A?:c%/gfQ0d{iNLKOSB,[M!jV{zz`0vW#`hF
output:
R
result:
ok single line: 'R'
Test #12:
score: 0
Accepted
time: 10ms
memory: 9364kb
input:
A9=BDk$U37GM(~P]ONqn~wVkQij*|j Rwx\6)5zML,mr#=&"l[Bu*-S}~,Ec]u^)q+86maHZX?fr+_!,SP3zP(;o"6F#E`1omCEp
output:
O
result:
ok single line: 'O'
Test #13:
score: 0
Accepted
time: 10ms
memory: 9300kb
input:
yfUsTasmTeqdgybznPWu~bnQvgXP]oUbx`_pfw_QXo__O_nTc]ionP|SSte~^waVzPeoYo[ZSOwxmhu|eRanYSS[aYeZOtRZQjlw
output:
d
result:
ok single line: 'd'
Test #14:
score: 0
Accepted
time: 10ms
memory: 9424kb
input:
nzki[}PvZmdhSdVr_w]u|mhtj}PsShYQhpgOfT^\wibntv|OX\nrppmPogmt^]\_QatXtpdtT]xnzjTsRfPljc}yURvw`~qmlRUy
output:
g
result:
ok single line: 'g'
Test #15:
score: 0
Accepted
time: 8ms
memory: 9244kb
input:
WvrUm[YhuQq`zxh|z[QrT]P[`oq~u^ek{yjm~`ebkXogz[i\Xl~hphtuVX][pSPkQP_QryV}o\O{|[T^rsrkZyfqUPwwfh_~l`gv
output:
g
result:
ok single line: 'g'
Test #16:
score: 0
Accepted
time: 5ms
memory: 9464kb
input:
|~lvqVPS]\tlebqgfzdalQvkQuYQ}umxldst]iiSVUTYUR|yaUq]pP{sbW_TzlmqliV\qj|PXtqOXfaV`Z\^oX{r_htX[Qi~bSZS
output:
e
result:
ok single line: 'e'
Test #17:
score: 0
Accepted
time: 10ms
memory: 9364kb
input:
n{Oil`_QRtaVnih]]j\l|mrUYtT`vRlXXjr{rSPUii~fd]^_S\v]hlvlfculTR}q^oOty`TwacQfqkey]Tsv_XWc]zWyd_gTslYg
output:
e
result:
ok single line: 'e'
Test #18:
score: 0
Accepted
time: 6ms
memory: 9356kb
input:
>,M;E$#I8(65 *3.9:H$5L/0/D$@*.$?F:D"/4K/"B=)L65F #?!EMO+JIA=73.81O7=JG2ICB>(>F4K$D<30"I-FGB(D/.A3=+
output:
7
result:
ok single line: '7'
Test #19:
score: 0
Accepted
time: 7ms
memory: 9464kb
input:
0+K?.LH*N# 8"$OIA ((2+F$D8=O;4>2D<9KJL=4AE;10J9&<822??*M'1@9*5<G78G*I"*@5 ?2"34IH5N;@3)A<KM6@#->=$I0
output:
8
result:
ok single line: '8'
Test #20:
score: 0
Accepted
time: 8ms
memory: 9344kb
input:
!DB,H 0<3D8(;ODK+'56,J9@269*24"@N>N;O1=#>.52/+$DJG=*GJ7N%J>!8:30=='5:80J'&5HCEL.%MML0!CO!.OG8@8$1D#0
output:
8
result:
ok single line: '8'
Test #21:
score: 0
Accepted
time: 10ms
memory: 9336kb
input:
(:%COLO-AB<?N) +C!6*5! 8+4/O8$.N5195=>K0B)%NN5:LDF'C4H0+M,6J,/4.#9I26? @.6*40E=8H5F!?8K%+CK(5)F2F%).
output:
7
result:
ok single line: '7'
Test #22:
score: 0
Accepted
time: 5ms
memory: 9332kb
input:
3AA8,15)=?2CCH(HE$;*M4K'D(N"I=,CNC8D -&L@2-IC0K&" OL/DG55-&;*:2O$*G&%B;.4*/>I2/+537'< 13@:/%K#A68:DB
output:
7
result:
ok single line: '7'
Test #23:
score: 0
Accepted
time: 10ms
memory: 9360kb
input:
A>HSFNTGJT:QJ;EMQE9V3H@PST=PQ<P8B<KRU
output:
H
result:
ok single line: 'H'
Test #24:
score: 0
Accepted
time: 5ms
memory: 9356kb
input:
OS_P__LPhk]W\`jUckVU`a\feNeYW[VcdQgbNhP[_YhjlkSaReaYc^Sjhd_YYTNcQXVei\\
output:
]
result:
ok single line: ']'
Test #25:
score: 0
Accepted
time: 10ms
memory: 9464kb
input:
JQSTIRLNHLOTIRKMHJSIPTRQJQSRKNIMSJQRNQNTNIQQOPNMNTLHKJHOLMKKMNTLNOLSRLSSQNROIINPQSKPLLQOKPMPOORQQ
output:
N
result:
ok single line: 'N'
Test #26:
score: 0
Accepted
time: 10ms
memory: 9464kb
input:
mhkiihkikhmilkjmhkilmmmmjimmjklihijkmmhhhjmmljlimhimkhiilh
output:
j
result:
ok single line: 'j'
Test #27:
score: 0
Accepted
time: 5ms
memory: 9332kb
input:
ORROOPRJKOQLKKJIJMNNIMKJQJQKPPQJQLLKQKORNQRPNIMKI
output:
M
result:
ok single line: 'M'
Test #28:
score: 0
Accepted
time: 10ms
memory: 9464kb
input:
ywtfgxzozckcqohktir}fpcn~`t~vkpljky`l{}m_hmk`rthvvcj{upfo|szvoa`cmkbry
output:
n
result:
ok single line: 'n'
Test #29:
score: 0
Accepted
time: 5ms
memory: 9464kb
input:
@Y9>i\-]eGTgLU::ee)O0.ThHa%C_8D0c51[ePdF-T%,3V44F0c[70NdLVDIL)i74&S5
output:
G
result:
ok single line: 'G'
Test #30:
score: 0
Accepted
time: 9ms
memory: 9368kb
input:
tOmLmYe^^WZ[[l``gSxT\g]vWfYccm
output:
`
result:
ok single line: '`'
Test #31:
score: 0
Accepted
time: 5ms
memory: 9340kb
input:
Xbd^sZZtb{cmuwrul{_Z{ml]fcq\
output:
i
result:
ok single line: 'i'
Test #32:
score: 0
Accepted
time: 5ms
memory: 9336kb
input:
aY[yz]hd[[utYftxacf|_v_q{tuuYdc}sb\qe|_ejXX_tplhgvwcg`f|unottgbpcv
output:
j
result:
ok single line: 'j'