Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
#30.2
#include <iostream> #include <string> using namespace std; int main() { for (int i = 1; i < 4; i++) { for (int j = 2; j < 5; j++) { for (int k = 3; k < 6; k++) { if ( i == j || j == k || i == k) continue; if ( j > k || i > j) continue; cout << i << " " << j << " " << k << endl; } } } return 0; } /** 1 2 3 1 2 4 1 2 5 1 3 4 1 3 5 1 4 5 2 3 4 2 3 5 2 4 5 3 4 5 **/
run
|
edit
|
history
|
help
0
vector of bool
hgh
c++ eval - double numbers v1.0
Permute
#26.fix
VC++ Template Comment
vc++ bug?
1337
Dices by GOOSE
Attribute of qi parsers