Submission #49531
ソースコード
ステータス
コンパイルメッセージ
./Main.cpp: In function ‘void bogo_sort(std::vector<std::pair<int, int> >&)’:
./Main.cpp:11:9: error: ‘random_device’ was not declared in this scope
random_device seed_gen;
^~~~~~~~~~~~~
./Main.cpp:11:9: note: suggested alternative: ‘random_data’
random_device seed_gen;
^~~~~~~~~~~~~
random_data
./Main.cpp:12:9: error: ‘mt19937’ was not declared in this scope
mt19937 engine(seed_gen());
^~~~~~~
./Main.cpp:13:37: error: ‘engine’ was not declared in this scope
shuffle(v.begin(), v.end(), engine);
^~~~~~
./Main.cpp:13:37: note: suggested alternative: ‘getline’
shuffle(v.begin(), v.end(), engine);
^~~~~~
getline
./Main.cpp:13:9: error: ‘shuffle’ was not declared in this scope
shuffle(v.begin(), v.end(), engine);
^~~~~~~
セット
テストケース