Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
#30.3
#include <iostream> #include <string> using namespace std; int main() { double licznik; for (int i = 1; i < 49; i++) { for (int j = 2; j < 49; j++) { for (int k = 3; k < 49; k++) { for (int l = 4; l < 49; l++) { for (int m = 4; m < 49; m++) { for (int n = 4; n < 49; n++) { if ( i == j || i == k || i == l || i == m || i == n || j == k || j == l || j == m || j == n || k == l || k == m || k == n || l == m || l == n || m == n) continue; if ( i > j || j > k || k > l || l > m || m > n) continue; licznik ++; } } } } } } cout << licznik; return 0; }
run
|
edit
|
history
|
help
0
Affine Key Finder and Decrypter
Postfix side effect returning 2
Thing v.2
postfix eval in c++ - multidigits decimal
vector of bool
#7
Guess a number in c++
Copy_and_base
Get parameter type
karma legacy "variant" with attr_cast