fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. __int64_t __fastCall GetSparkleType(unsigned int otid, int pid){
  5. unsigned int top;
  6. unsigned int type;
  7. __int64 result;
  8.  
  9. top = (pid ^ otid) >> 16;
  10.  
  11. }
  12.  
  13. int main() {
  14. // your code goes here
  15. // a = 5(00000101), b = 9(00001001)
  16. unsigned int a = 65536, b = 131072;
  17.  
  18. // The result is 00000010
  19.  
  20. printf("a>>16 = %d\n", a>>4);
  21.  
  22. // The result is 00000100
  23. printf("b>>16 = %d\n", b>>4);
  24. return 0;
  25. }
Compilation error #stdin compilation error #stdout 0s 4316KB
stdin
Standard input is empty
compilation info
prog.cpp:4:22: error: expected initializer before ‘GetSparkleType’
 __int64_t __fastCall GetSparkleType(unsigned int otid, int pid){
                      ^~~~~~~~~~~~~~
stdout
Standard output is empty