提交记录 20585


用户 题目 状态 得分 用时 内存 语言 代码长度
syf_jrym 1000. 测测你的 A+B Compile Error 0 0 ns 0 KB C++ 531 B
提交时间 评测时间
2023-11-19 18:48:59 2023-11-19 18:49:01
#include <bits/stdc++.h>
using namespace std;
inline void write(int x){
    if(x < 0){
    	putchar('-');
		x = -x;
	}
    if(x > 9)
		write(x / 10);
    putchar(x % 10 + '0');
}
inline void read(int &x) {
	x = 0;
	short flag = 1;
	char c = getchar();
    while(c < '0' || c > '9'){
        if(c == '-')flag = -1;
        c = getchar();
    }
	while(c >= '0' && c <= '9') {
		x = (x << 3) + (x << 1) + (c ^ 48);
		c = getchar();
	}
	x *= flag;
}
int main(){
	int a,b;
	read(a),read(b);
	write(a+b);
	system("pause");
	return 0;
}


CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2024-07-27 11:43:26 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用