fork(1) download
  1. #include <cstdio>
  2.  
  3. int main() {
  4. int M = 1000000007;
  5.  
  6. int a = 1000000000;
  7. int b = 1000000000;
  8. int c = 1000000000;
  9.  
  10. int r = ( a + b + c ) % M;
  11. printf( "%d", r );
  12. return 0;
  13. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
-294967289