Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Standard view
Full view
of .
×
0 of .
Results for:
P. 1
BAC 2009 - Rezolvari informatica Intensiv si Neintensiv de la www. rezolvari.net

# BAC 2009 - Rezolvari informatica Intensiv si Neintensiv de la www. rezolvari.net

Ratings:

4.0

(4)
|Views: 54,478|Likes:
Rezolvari informatica bacalaureat 2009 subiecte intensiv si neintensiv
Rezolvari informatica bacalaureat 2009 subiecte intensiv si neintensiv

Categories:Types, School Work

### Availability:

See More
See less

12/10/2013

pdf

text

original

Atentie: Fata de 2008, variantele din 2009 au peste 80 de diferente.Vezi variantele rezolvate de la
www.rezolvari.net
Subiectul I Varianta 221. b
Explicatie:
a/b%c<=b
20/3%5<=3
6%5<=3
1<=3
1!(b==a)
!(3==20)
!0
11 || 1
1
2.a) 15
Explicatie: Algoritmul afiseaza cel mai mare divizor propriu al lui n
b)
Algoritm echivalentciteste ndaca n<0 atuncin
1
i
2cat timp i<=[n/2] executa
daca i|n atuncid
isfarsit dacai
i+1
sfarsit cat timp
scrie d
c) Programul
#include<iostream.h>void main(){unsigned int n,i,d;cin>>n;if(n<0) n=-n;d=1;for(i=2;i<=n/2;i++)if(n%i==0)d=i;cout<<d;}
d) 25 sau 17
(orice numar prim sau patrat perfect de numar prim)

## Activity (295)

### Showing

AllMost RecentReviewsAll NotesLikes