为什么提交5,会出现Presentation Error,Dev-C++却能在正常工作bulid by ?///? at 2022-09-18 16:32
Rating:1420
#include<stdio.h>

int main()
{
	unsigned long long d;
	int b;
	while(scanf("%llu",&d)!=EOF)
	{
		if(d!=0)
	{
		b=d*2-1;
	}
		else{
		b=0;
		}
		printf("%llu ",b);
}
	return 0;
}
麻了,学长帮帮我
1 reply by ?///? at 2022-09-18 16:33
Rating:1420
是基础语法那边的 emmm
khann(khann):

Presentation Error是格式错误,估计是少了换行或者空格什么的

2022-09-23 20:00 回复
回复
要回复,请先登录

T^T Online Judge

[BUG反馈] [FAQ] [闽ICP备17026590号-1]
当前版本:3.24 系统时间: