結果
| 問題 |
No.1700 floor X
|
| コンテスト | |
| ユーザー |
sorag
|
| 提出日時 | 2022-09-02 11:33:11 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 21 ms / 2,000 ms |
| コード長 | 447 bytes |
| コンパイル時間 | 1,123 ms |
| コンパイル使用メモリ | 112,456 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-15 16:57:45 |
| 合計ジャッジ時間 | 3,055 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 44 |
ソースコード
#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<map>
#include<math.h>
#include<set>
#define all(x) x.begin(),x.end()
#define gall(x) x.begin(),x.end(),greater<>()
#define pb push_back
#define ll long long
#define P pair<double,double>
#define LP pair<ll,ll>
using namespace std;
int main() {
int t;
cin >> t;
for (int i = 0; i < t; i++) {
ll n;
cin >> n;
cout << int(sqrtl(n)) << endl;
}
return 0;
}
sorag