fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. _asm
  6. (
  7. GLOBAL timestamp
  8. timestamp:
  9. RDTSC
  10. RET
  11. )
  12. // your code goes here
  13. return 0;
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main()':
prog.cpp:7:6: error: 'GLOBAL' was not declared in this scope
      GLOBAL timestamp
      ^
prog.cpp:11:5: error: '_asm' was not declared in this scope
     )
     ^
stdout
Standard output is empty