单项选择题

下列叙述中正确的是【 】。

A.一个算法的空间复杂度大,则其时间复杂度也必定大
B.一个算法的空间复杂度大,则其时间复杂度必定小
C.一个算法的时间复杂度大,则其空间复杂度必定小
D.上述三种说法都不对
<上一题 目录 下一题>
热门 试题

单项选择题
以下选项中不能正确把c1定义成结构体变量的是( )。
A.typedef struct   { int red;    int green;    int blue;   } COLOR;      COLOR cl;
B.struct color cl   { int red;   int green;    int blue;   }
C.struct color   { int red;   int green;   int blue;   } cl;
D.struct   { int red;    int green;    int blue;   } cl;
单项选择题
有以下程序main( ){ char str[ ]= xyz ,*ps=str;while(*ps) ps++; for(ps--;ps-str>=0;ps--) puts(ps);}执行后输出结果是( )。
A.yz  xyz
B.z  yz
C.z  yz    xyz
D.x  xy    xyz
相关试题
  • 执行以下程序后的输出结果是【 】。main(...
  • 以下程序运行后的输出结果【 】。struct ...
  • 诊断和改正程序中错误的工作通常称为【 】。
  • 下列程序的运行结果是:【 】#include ...
  • 以下程序运行后的输出结果是【 】。main(...