結果
問題 | No.1700 floor X |
ユーザー |
|
提出日時 | 2021-10-08 22:43:32 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 388 bytes |
コンパイル時間 | 4,418 ms |
コンパイル使用メモリ | 252,228 KB |
最終ジャッジ日時 | 2025-01-24 22:57:40 |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 20 WA * 24 |
ソースコード
#include <bits/stdc++.h>#include <atcoder/all>using namespace std;using namespace atcoder;#define ALL(obj) (obj).begin(), (obj).end()#define rALL(obj) (obj).rbegin(), (obj).rend()using ll = long long;// cout << fixed << setprecision(10)int main() {int T;cin >> T;for (int i = 0; i < T; i++) {ll N;cin >> N;cout << floor(sqrt(N)) << endl;}return 0;}