結果
問題 |
No.1592 Tenkei 90
|
ユーザー |
![]() |
提出日時 | 2021-07-20 02:17:14 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 687 bytes |
コンパイル時間 | 1,748 ms |
コンパイル使用メモリ | 196,192 KB |
最終ジャッジ日時 | 2025-01-23 03:22:02 |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; } template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; } const int INF = (1<<30)-1; const int MOD = 1e9+7; const ll LINF = (1ll<<62)-1; #define REP(i,n) for(int i=0;i<(n);++i) #define COUT(x) cout<<(x)<<"\n" #define COUT16(x) cout << fixed << setprecision(16) << (x) << "\n"; int main(){ //input string s;cin >> s; string t = "kyoprotenkei90"; //calc sort(s.begin(),s.end()); sort(t.begin(),t.end()); //output if(s==t)COUT("Yes"); else COUT("No"); }