結果
| 問題 | 
                            No.1700 floor X
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Pres1dent
                         | 
                    
| 提出日時 | 2021-10-08 21:53:10 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 789 bytes | 
| コンパイル時間 | 4,402 ms | 
| コンパイル使用メモリ | 251,428 KB | 
| 最終ジャッジ日時 | 2025-01-24 21:51:58 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | AC * 41 WA * 3 | 
ソースコード
#ifdef _DEBUG
#define xD cerr
#define xO <<
#define xx(x1) x1
#define xP endl
#else
#define xD
#define xO
#define xx(x1)
#define xP
#endif
#include "bits/stdc++.h"
using namespace std;
#include "atcoder/all"
using namespace atcoder;
using i64 = long long;
using uni64 = unsigned long long;
using i_i = pair<int, int>;
using i_b = pair<int, bool>;
using l_l = pair<i64, i64>;
using d_d = pair<double, double>;
constexpr int INF = 2147483647;
constexpr i64 I64F = 9223372036854775807;
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
int main() {
	int t; cin >> t;
	for (int i = 0; i < t; i++) {
		i64 n; cin >> n;
		cout << (int)sqrt(n) << endl;
	}
	return 0;
}
            
            
            
        
            
Pres1dent