fork download
  1. /*
  2. * bez nazwy.cxx
  3. *
  4. * Copyright 2012 Kevin Wolny <kevin.wolny@gmail.com>
  5. *
  6. */
  7.  
  8.  
  9. #include <cstdio>
  10.  
  11. int main(int argc, char **argv){
  12.   unsigned int a=3155;
  13. unsigned int k=3;
  14. scanf("%i %i",&a,&k);
  15. unsigned int m=1;
  16. for (unsigned int i = 0; i < k; i++){
  17. m<<=1;
  18. }
  19. printf("%i",a|m);
  20.  
  21. return 0;
  22. }
  23.  
  24.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
146 6
compilation info
Free Pascal Compiler version 2.2.0 [2009/11/16] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling prog.pas
Fatal: Syntax error, "BEGIN" expected but "/" found
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
stdout
Standard output is empty