提交记录 6657


用户 题目 状态 得分 用时 内存 语言 代码长度
jxk706060666 1000i. 【传统题】 A+B Problem Wrong Answer 0 40.28 us 40 KB C++ 449 B
提交时间 评测时间
2018-11-01 20:03:43 2020-08-01 00:48:02
#include<bits/stdc++.h>
using namespace std;

char getch()
{
	static char buf[1<<23],*p1=buf,*p2=buf;
	return p1==p2&&(p2=(p1=buf)+fread(buf,1,1<<23,stdin),p1==p2)?EOF:*p1++;
}

void read(int &x)
{
	x=0;
	char c=getch(),last=' ';
	while(c<'0'||c>'9')
	{
		last=c;
		c=getch();
	}
	while(c>='0'&&c<='9')
	{
		x=(x<<1)+(x<<3)+(c-'0');
		c=getch();
	}
	if(last=='-') x=~x+1;
}

int a,b;

int main()
{
	read(a);read(b);
	printf("%d\n",a+b);
	return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #140.28 us40 KBWrong AnswerScore: 0


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-09 18:53:58 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠