Entries from 2022-07-29 to 1 day

数値誤差

atcoder.jp を解いていての学び. 参考 drken1215.hatenablog.com 数値誤差 #include <bits/stdc++.h> using namespace std; typedef long long ll; int main(){ ios::sync_with_stdio(false); cin.tie(0); double a= 2.51; cout << (int) (a*100) << endl; return 0; } 250</bits/stdc++.h>…