結果
| 問題 |
No.250 atetubouのzetubou
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-06-09 03:10:09 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 402 bytes |
| コンパイル時間 | 1,886 ms |
| コンパイル使用メモリ | 165,444 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-27 11:22:55 |
| 合計ジャッジ時間 | 3,602 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 1 WA * 19 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
int q;
long long d,x,t,ans;
bool h;
cin>>q;
while(q--){
h=true;
cin>>d>>x>>t;
ans=1;
for(int i=1;i<d;i++){
ans*=x;
//ans/=i;
if(ans>=t){
h=false;
break;
}
}
cout<<(h?"AC":"ZETUBOU")<<endl;
}
}