提交记录 5217
| 提交时间 |
评测时间 |
| 2018-08-12 22:30:22 |
2020-08-01 00:13:55 |
#include <bits/stdc++.h>
#include <ext/rope>
using namespace std;
using namespace __gnu_cxx;
#ifdef vscode
#define paus system("pause")
#else
#define paus return 0
#endif
template <class T>
inline bool scan_d(T& ret) {
char c;
int sgn;
if (c = getchar(), c == EOF) {
return 0; // EOF
}
while (c != '-' && (c < '0' || c > '9')) {
c = getchar();
}
sgn = (c == '-') ? -1 : 1;
ret = (c == '-') ? 0 : (c - '0');
while (c = getchar(), c >= '0' && c <= '9') {
ret = ret * 10 + (c - '0');
}
ret *= sgn;
return 1;
}
template <class T>
inline void print_d(T x) {
if (x > 9) {
print_d(x / 10);
}
putchar(x % 10 + '0');
}
int main(void) {
int a, b;
scan_d(a); scan_d(b);
print_d(a+b);
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 39.44 us | 36 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-12 06:23:24 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠