結果
問題 |
No.1700 floor X
|
ユーザー |
👑 |
提出日時 | 2022-01-23 00:07:45 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 358 bytes |
コンパイル時間 | 646 ms |
コンパイル使用メモリ | 63,104 KB |
実行使用メモリ | 13,824 KB |
最終ジャッジ日時 | 2024-11-28 03:49:48 |
合計ジャッジ時間 | 131,248 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | TLE * 1 |
other | AC * 3 TLE * 41 |
ソースコード
#include <iostream> using namespace std; int main(){ int t;cin>>t; for(int i = 0; t > i; i++){ long long x;cin>>x; long long mx = 1000000001; long long mn = 1; while(mx-mn > 1){ long long ce = mx-mn; if(x >= ce*ce)mn = ce; else mx = ce; } cout << mn << endl; } }