SegmentTree_ @ 2024-08-06 10:24:48
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define i128 __int128
#define lid (id << 1)
#define rid (id << 1 | 1)
const int N = 5e2+5, M = 1e3+5;
namespace io {
#define fastio ios::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr)
const int SIZE = (1 << 21) + 1;
char ibuf[SIZE], *iS, *iT, obuf[SIZE], *oS = obuf, *oT = oS + SIZE - 1, c, qu[55]; int f, qr;
// #define gc() (iS == iT ? (iT = (iS = ibuf) + fread (ibuf, 1, SIZE, stdin), (iS == iT ? EOF : *iS ++)) : *iS ++)
#define gc() getchar()
inline void flush () { fwrite (obuf, 1, oS - obuf, stdout); oS = obuf; }
inline void putc (char x) { *oS ++ = x; if (oS == oT) flush (); }
template <class I> inline void read(I &x){ for (f = 1, c = gc(); c < '0' || c > '9'; c = gc()) if (c == '-') f = -1; for (x = 0; c <= '9' && c >= '0'; c = gc()) x = x * 10 + (c & 15); x *= f; }
template <class I> inline void write(I x) { if (!x) putc ('0'); if (x < 0) putc ('-'), x = -x; while (x) qu[++ qr] = x % 10 + '0', x /= 10; while (qr) putc (qu[qr --]); }
struct Flusher_ {~Flusher_(){flush();}}io_flusher_;
}
using io::read;
using io::write;
using io::putc;
namespace tianyu{
int a, b;
void awa(){
cin >> a >> b;
int c = a + b;
cout << b + (b - a) * a / 10;
}
}
signed main(){
fastio;
int T = 1;
while (T--){
tianyu::awa();
}
return 0;
}
by Marisa_physics @ 2024-08-16 13:15:31
@wang_qian_xi1 其实是大佬整活 signed意为有符号的 单int表示的是有符号整型 是 signed int的缩写 signed int可以被省略写成signed 就像long long int 可以被写成long long一样
by wang_qian_xi1 @ 2024-08-16 15:02:50
哦 整活啊 那没事了
by wang_qian_xi1 @ 2024-08-22 08:11:04
@邓不利多_henry 原来是整活,我以为是新手被大佬骗了
by 邓不利多_henry @ 2024-08-27 22:26:06
@wang_qian_xi1 红名dalao,你以为 (手动doge