fork download
  1. #include "testlib.h"
  2. #include <iostream>
  3. #include <string>
  4. using namespace std;
  5. int main(int argc,char* argv[]) {
  6. registerGen(argc, argv, 1);
  7. int p=rnd.next(50,10000);
  8. int q=rnd.next(0,p);
  9. string s="";
  10. for(int i=0;i<p;i++){
  11. int tmp=rnd.next(0,25);
  12. s+=char('a'+tmp);
  13. }
  14. cout<<s<<'\n'<<q<<'\n';
  15. }
  16.  
  17.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:10: fatal error: 'testlib.h' file not found
#include "testlib.h"
         ^~~~~~~~~~~
1 error generated.
stdout
Standard output is empty