結果
問題 | No.1700 floor X |
ユーザー |
|
提出日時 | 2021-11-27 17:50:38 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 22 ms / 2,000 ms |
コード長 | 362 bytes |
コンパイル時間 | 635 ms |
コンパイル使用メモリ | 77,452 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-03 10:50:29 |
合計ジャッジ時間 | 2,749 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 44 |
ソースコード
#include <algorithm>#include <cmath>#include <iostream>#include <vector>using namespace std;const int INF = 2147483647;int main(void){int t;cin >> t;vector<int> vec(t);for (int i = 0; i < t; i++) {long long n;cin >> n;vec[i] = floorl(sqrtl(n));}for (int i = 0; i < t; i++) {cout << vec[i] << endl;}return 0;}