codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <iostream> int main() { int total = 0; for (int x = 0; x < 1000; x+= 3) { total += x; } for (int y =0; y < 1000; y+= 5) { total += y; } std::cout << total << std::endl; }
Private
[
?
]
Run code
Submit