結果
| 問題 |
No.1700 floor X
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-10-18 13:25:16 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 402 bytes |
| コンパイル時間 | 1,678 ms |
| コンパイル使用メモリ | 168,044 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-19 07:12:23 |
| 合計ジャッジ時間 | 3,591 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}