/ 科创班 /

记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:6:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 if(a>=0||b<=32767)
 ^~
/in/foo.c:8:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  printf("%d",sum);
  ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB

代码

#include<stdio.h>
int main()
{
	int a,b,sum=0;
	scanf("%d %d",&a,&b);
if(a>=0||b<=32767)
	sum=a+b;
	printf("%d",sum);
	return 0;	
 } 

信息

递交者
类型
递交
题目
x+y
题目数据
下载
语言
C
递交时间
2018-06-20 23:20:07
评测时间
2018-06-20 23:20:07
评测机
分数
20
总耗时
5ms
峰值内存
256.0 KiB