結果
問題 | No.927 Second Permutation |
ユーザー | mai |
提出日時 | 2019-11-22 21:29:11 |
言語 | cLay (20240104-1) |
結果 |
CE
|
実行時間 | - |
コード長 | 143 bytes |
コンパイル時間 | 1,787 ms |
コンパイル使用メモリ | 152,012 KB |
最終ジャッジ日時 | 2023-09-19 00:29:44 |
合計ジャッジ時間 | 4,116 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge15 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:183:3: error: ‘next_permutaion’ was not declared in this scope 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); }