fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main ()
  4. {
  5. int a =10;
  6. int b =20;
  7. int c =30;
  8. cout <<(a+b+c)/3;
  9. return 0;
  10. }
Success #stdin #stdout 0s 544KB
stdin
Standard input is empty
stdout
20