/ 科创班 /

记录详情

Wrong Answer

/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 Wrong Answer 4ms 256.0 KiB
#2 Wrong Answer 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:04:53
评测时间
2018-06-20 23:04:53
评测机
分数
0
总耗时
6ms
峰值内存
256.0 KiB