結果
問題 |
No.8085 Math...?
|
ユーザー |
![]() |
提出日時 | 2021-04-01 22:00:15 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 197 bytes |
コンパイル時間 | 1,831 ms |
コンパイル使用メモリ | 166,256 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-21 06:19:20 |
合計ジャッジ時間 | 6,801 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 26 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main() { int Q; cin >> Q; while (Q--) { long long A,B; cin >> A >> B; cout << (B-1)*(B-1)+B*B << endl; } }