提交记录 6005


用户 题目 状态 得分 用时 内存 语言 代码长度
FangHao 1000. 测测你的 A+B Compile Error 0 0 ns 0 KB C 482 B
提交时间 评测时间
2018-09-19 11:46:11 2020-08-01 00:37:40
#include<stdio.h>
inline void read(register int &x){
	x=0;
    register int w=1; register char ch=getchar();
    while(ch<'0'||ch>'9') {if(ch=='-') w=-w;ch=getchar();}
    while(ch>='0'&&ch<='9') x=x*10+ch-'0',ch=getchar();
    x*=w;
}
inline void put(register int x)  
{  
    register int num = 0; register char c[15];
    while(x) c[++num] = (x%10)+48, x /= 10;
    while(num) putchar(c[num--]);
    putchar('\n'); 
}
int main(){
	register int a,b;
	read(a),read(b);
	put(a+b);
}

CompilationN/AN/ACompile ErrorScore: N/A


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