結果
| 問題 | No.927 Second Permutation |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-11-22 21:29:11 |
| 言語 | cLay (20241019-1 + boost 1.89.0) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 143 bytes |
| 記録 | |
| コンパイル時間 | 1,942 ms |
| コンパイル使用メモリ | 164,352 KB |
| 最終ジャッジ日時 | 2024-07-05 13:26:39 |
| 合計ジャッジ時間 | 2,797 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:183:3: error: ‘next_permutaion’ was not declared in this scope
183 | next_permutaion(s.begin(), s.end());
| ^~~~~~~~~~~~~~~
ソースコード
string s;
{
cin>>s;
sort(s.begin(), s.end());
next_permutaion(s.begin(), s.end());
for(auto it=s.rbegin();it!=s.rend();++it) wt(*it);
}