一起答
单选

下面所给出的算法的时间复杂度为(56)。(n为大于1的数)

 x=n;y=1;

 while(x>y*y){

 y++;}

  • A.
  • B.
  • C.
  • D.
参考答案
查看试卷详情
相关试题
  1. (89)

    • A.system hardware
    • B.system software
    • C.keyboard
    • D.operation system
  2. (88)

    • A.deferring
    • B.suspending
    • C.hanging
    • D.holding
  3. (86)

    • A.updating
    • B.renovate
    • C.renew
    • D.rehabilitate
  4. (87)

    • A.route
    • B.passage
    • C.track
    • D.directory
  5. (84)

    • A.read
    • B.write
    • C.draw
    • D.fill
  6. User programs interact with the kernel through a set of standard(71). They request services to be provided by the kernel. Such services would include accessing a file: open close, read, write, link, or execute a file; starting or(72)accounting records; changing ownership of a file or(73); changing to a new directory; creating,(74), or killing a process; enabling access to hardware devices; and setting limits on system resources. Unix is a multi -user, multi -tasking operating system. You can have many users logged into a system simultaneously, each running many programs. It's the kernel's job to keep each process and user separate and to regulate access to(75), including cpu, memory, disk and other L/O devices.

    • A.system commands
    • B.system transfer
    • C.system calls
    • D.system rings
  7. (83)

    • A.read
    • B.write
    • C.speak
    • D.tell
  8. (82)

    • A.sets
    • B.dishes
    • C.disks
    • D.panels
  9. (81)

    • A.AI
    • B.Alt
    • C.Ant
    • D.Alnt
  10. (79)

    • A.图像的大小
    • B.图像的色彩
    • C.图像袁现的细节
    • D.图像序列变化的程度