結果
| 問題 |
No.1162 Many Quotients hard
|
| ユーザー |
|
| 提出日時 | 2020-08-12 10:54:51 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 171 bytes |
| コンパイル時間 | 784 ms |
| コンパイル使用メモリ | 77,556 KB |
| 最終ジャッジ日時 | 2025-01-12 21:15:29 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 40 WA * 2 |
ソースコード
#include<iostream>
#include<cmath>
using namespace std;
typedef long long ll;
int main(){
ll n;
cin >> n;
cout << (ll)(sqrt(4*n+1))-1 << endl;
return 0;
}