結果
問題 |
No.8062 A + B
|
ユーザー |
![]() |
提出日時 | 2020-04-01 22:30:27 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 308 bytes |
コンパイル時間 | 1,041 ms |
コンパイル使用メモリ | 66,400 KB |
最終ジャッジ日時 | 2025-01-09 12:14:14 |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 2 WA * 6 |
ソースコード
#include <iostream> #include <string> #include <cassert> using namespace std; long double a,b; int main(){ cout.precision(20); int i; cin >> a >> b; for(i=1;i<=15;i++){ a *= 10; b *= 10; } a += b; for(i=1;i<=15;i++){ a /= 10; } cout << a << endl; }