Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
48 views11 pages

SPCC Ass 1

This document contains examples of code snippets in an unspecified programming language. It demonstrates various programming concepts like algorithms, error handling, input/output, and data structures. Code examples include sorting algorithms, recursion, string manipulation, and working with lists, sets and dictionaries. The document provides the code snippets along with sample inputs and outputs to illustrate how the code functions.

Uploaded by

Sankalp Rane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views11 pages

SPCC Ass 1

This document contains examples of code snippets in an unspecified programming language. It demonstrates various programming concepts like algorithms, error handling, input/output, and data structures. Code examples include sorting algorithms, recursion, string manipulation, and working with lists, sets and dictionaries. The document provides the code snippets along with sample inputs and outputs to illustrate how the code functions.

Uploaded by

Sankalp Rane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

SPCC As.

nl
AEEE E/E1eO
1

E
EAuo
E isairg&punoloEuph E, I Hissirg Pal fharbys
E Huigglalt foru hesu,

Algonibhm
L a adk smlol
T/P Bmuol
xopeo
P am orpoaly rd tndk. cotaind adoik nx od)
ACCEPTO:

se
ERROR
Stak T a AUkgrn
idid id-ia)$¢ ht
ididd-i)$ d h
+(id +idl)*(id-id$ad+
4 tad d-ia)$|( hit
hit
Ragut
(EE id-id) Reoug
E S*id-id |C
4E) d-d) Re ou
d-i) hiut
E d-id)
E il-idl)$
Ed Redute
EE id)
$E E-
EEid Redute
EAE-E Redut
$EE
$EE Redul
$EE
Redate
ACCEPTC),
zl

&2SAR
AAD
G

o
iatS){nA tollouS)=i t =
hit (A) ,de slauA) =a}=3
it6)1b,.1 ollau (8)=d 31
Lrellaur 33 Ju
Now tgcdte
AatlaxesS)
oi
3SS-An
A-GD

S) Aleu-S)={4
inat(A),d,t ollou(A)-{a
olleuB=10,d
t D)-A elleu-D) {ak

On2P- R S
R w
S
Jolhoas)={$
Lx. Kollou-(
at) w,
sdausS)
G3) 5- alBbh

C C
D EE
E RE

Mkboo(8)-14
inalS)- Aolor( 0 ) - a 6 h k
t ) es)
le 0)
ollecu
foleu (F)

S-AbB Anb
A-S
S
ionat() b
inat (A) s
Aist 6) u :(8)-e
hre tnlle

SA
A
AAS EAMOR
B 6 - 5 8 S8 5

ElSAB, S
s. S FR

AisstS i leS4S
st -

S RERRORL
R R+5
F i ERRORL
Ags

e pent

AccEPTO
X =

pSp

poplx

ERRORL)
Exo/mpe
Vp=id id
I/P
4S d id
fRF idd
Rid
R
S
RE d
R id
R

ACCEPT
Volli.oln

G2SiE1SS
S SE
E
hinat=ia folau)
holhoS
irstE)-{
pennlle?
ogw-E)
S-0. SiE1SS
S
E
Hoe l o Swnd e ons uo
preducion uos, hene 6rmiaui t naim
He Opore bD Ait oduagn ua8 is mot
7

L LSS
p

idS olleuS)=%4
L L5
LS
sap Bpo aõ alla

LS.t
s.L
S.id LL,S
L.LS+ L.L5 S
L.5 LS
. id

Jd L, S
Sl.
L LS
id
S
S> id

Ss
ap3 bse tale
S L

3 2
AcCEPT
2 83 82 6 5

-
a83 82
3 3

ExOme

1/P Adugm
0 d , id it

o (2id3 uduta
$o2S6 Jadute
o25
o L5,1 sht
o2L53 a3 Jeduto
o s,S adu
hit
42L58 adco
OS ACCEPT
tde
Ce

D
S S
OSaCDe LollesS)=
Cbe Laau ={d
C jollou)-ie}
alle

S Ss.
s.S Sa.CDev S-sac.Dest
S aDer C.Cbe C C.be
C.Ce

C
D.d CC.c

d cSaCO..

0d.

S ACDe
16
3 foe talle

a c e S CD
o&284 45 3
ACCEPT

>3

--
8

2 12
10

ExDopo
Atisn
acde $
$0 02 cde t
$On2b cdle
ExRA hooiie
>LeaLaace
h aohuanak a

aammlsax
upled ouends

Lerical olgday
Eo
Cmmet pa3 lut Jegimimg mot tasuoit
Lesicamolasa

SUmbalornud poDeua

Lnbrmpalible pe epxbmols

0Uroledoved voia Jles


8aroic amabaah

You might also like