online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> using namespace std; int main() { unsigned ile=0; for (auto i=100; i<1000; ++i) { string n = to_string(i); if (n[0]==n[1] || n[0]==n[2] || n[1]==n[2]) continue; cout << i << " "; if (++ile%20 == 0) cout << endl; } cout << endl << "Ilosc liczb: " << ile; return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue