結果
問題 |
No.1700 floor X
|
ユーザー |
|
提出日時 | 2021-10-08 22:44:58 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 433 bytes |
コンパイル時間 | 2,012 ms |
コンパイル使用メモリ | 101,256 KB |
最終ジャッジ日時 | 2025-01-24 22:59:00 |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 1 WA * 43 |
ソースコード
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <utility> #include <set> #include <map> #include <queue> #include <cmath> #include <iomanip> using namespace std; typedef long long ll; #define rep(i, n) for (int i=0;i < (int)(n);i++) int main(){ int t; cin >> t; while(t--){ ll x;cin >> x; ll ans = round(sqrt(x)); cout << ans << endl; } return 0; }