Разбор задач

  • Published on
    11-Nov-2014

  • View
    409

  • Download
    0

Tags:

Embed Size (px)

DESCRIPTION

2012

Transcript

  • 1. 1 http://krasprog.ru

2. . ? N < 104 + 1 3. . N . , N-1 . N-2 . : N*(N-1)*(N-2) 4. . N = 1 1 N = 2 2 5. . , . . N ? N < 104 + 1 6. . . + , - - . 0 , , . 7. . +, , -. . -. 8. . 0 1 2 3 4 5 6 7 8 9 10 - + + - + + - + + - + , . , , 3, -. , 1000 . 9. . cin >> n; cout 4 and Cj < 7, Rj = 2j-1Cj = 7, Rj = Rj-1 + 2j-1Cj > 7, Rj = 2j 13. D. N . , . N < 25 14. D. N. . = 2N. , , O(N2 2N) 15. D. O(N), . , acmp. 16. D. .void rec(int a, int k); a , k . 17. ?