变态的ACM题

不要只相信你的眼睛

袜子哥哥 posted @ Sep 04, 2013 06:42:14 PM in C , 655 阅读

//源代码

 

 

#include <stdio.h>
int main()
{
    int a,b,c,d; 
    a = 30; 
    b = 20; 
    d = a + b; 
    //在这里输入你的代码计算20 + 30,分号是英文状态下输入
    printf("%d", a+b);
    printf("%d",c);
    //printf("A+B:%d\n", a+b);
    //printf("C:%d\n",c); 
    //printf("D:%d\n",d); 
    return 0;
}

运行结果:500

好久没用C语言了,所以没加“\n”就出现了这个结果,还以为是编译器的问题,后来突然想到了,看来不能太相信自己的眼睛,还是要...

  • 无匹配
  • 无匹配

登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter