結果
| 問題 | No.1700 floor X |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-10-18 13:25:16 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 402 bytes |
| 記録 | |
| コンパイル時間 | 829 ms |
| コンパイル使用メモリ | 183,288 KB |
| 実行使用メモリ | 9,792 KB |
| 最終ジャッジ日時 | 2026-08-30 21:38:59 |
| 合計ジャッジ時間 | 3,812 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 41 WA * 3 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i, a, n) for (int i = a; i < n; ++i)
using ll = long long;
const int INF = 2147483647;
int main(void) {
ios::sync_with_stdio(false);
cin.tie(0);
int t;
cin >> t;
vector<int> vec(t);
rep(i, 0, t) {
ll n;
cin >> n;
int ans = sqrt(n);
vec[i] = ans;
}
rep(i, 0, t) {
cout << vec[i] << '\n';
}
return 0;
}