結果
問題 | No.1700 floor X |
ユーザー |
![]() |
提出日時 | 2021-10-08 22:31:15 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 819 bytes |
コンパイル時間 | 1,819 ms |
コンパイル使用メモリ | 166,308 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-23 05:15:31 |
合計ジャッジ時間 | 3,191 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 41 WA * 3 |
ソースコード
#include <bits/stdc++.h>//eolibraries#define lnf 3999999999999999999#define inf 999999999#define fi first#define se second#define pb push_back#define all(c) (c).begin(),(c).end()#define sz(c) (int)(c).size()#define make_unique(a) sort(all(a)),a.erase(unique(all(a)),a.end());#define rep(i,n) for(int i=0;i<n;i++)#define drep(i,n) for(int i=n-1;i>=0;i--)#define crep(i,x,n) for(int i=x;i<n;i++)#define vec(...) vector<__VA_ARGS__>#define _3ioVv0Q ios_base::sync_with_stdio(false),cin.tie(0),cout.tie(0)//eodefineusing namespace std;typedef long long i64;typedef long double ld;using pii=pair<int,int>;using tpii=pair<int,pii>;using vi=vec(i64);const int mxn=12000;int main(){_3ioVv0Q;int t;cin>>t;rep(cs,t){long long n;cin>>n;n=floor(sqrt(n));cout<<n<<"\n";}//return 0;}