QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#570375#9136. Exponent Calculatorucup-team3953#Compile Error//C++14791b2024-09-17 15:32:382024-09-17 15:32:41

Details

answer.code:1:7: error: empty character constant
    1 | ans = '''25
      |       ^~
answer.code:1:9: warning: missing terminating ' character
    1 | ans = '''25
      |         ^
answer.code:1:9: error: missing terminating ' character
    1 | ans = '''25
      |         ^~~
answer.code:27:1: error: empty character constant
   27 | '''
      | ^~
answer.code:27:3: warning: missing terminating ' character
   27 | '''
      |   ^
answer.code:27:3: error: missing terminating ' character
answer.code:31:3: error: invalid preprocessing directive #n
   31 | # n /= 1024;
      |   ^
answer.code:33:3: error: invalid preprocessing directive #e
   33 | # e = e + 1;
      |   ^
answer.code:34:3: error: invalid preprocessing directive #e
   34 | # e = e * n;
      |   ^
answer.code:35:3: error: invalid preprocessing directive #e
   35 | # e = e + 6;
      |   ^
answer.code:36:3: error: invalid preprocessing directive #e
   36 | # e = e * n;
      |   ^
answer.code:37:3: error: invalid preprocessing directive #e
   37 | # e = e + 30;
      |   ^
answer.code:38:3: error: invalid preprocessing directive #e
   38 | # e = e * n;
      |   ^
answer.code:39:3: error: invalid preprocessing directive #e
   39 | # e = e + 120;
      |   ^
answer.code:40:3: error: invalid preprocessing directive #e
   40 | # e = e * n;
      |   ^
answer.code:41:3: error: invalid preprocessing directive #e
   41 | # e = e + 360;
      |   ^
answer.code:42:3: error: invalid preprocessing directive #e
   42 | # e = e * n;
      |   ^
answer.code:43:3: error: invalid preprocessing directive #e
   43 | # e = e + 720;
      |   ^
answer.code:44:3: error: invalid preprocessing directive #e
   44 | # e = e * n;
      |   ^
answer.code:45:3: error: invalid preprocessing directive #e
   45 | # e = e + 720;
      |   ^
answer.code:47:3: error: invalid preprocessing directive #e
   47 | # e = e / 720;
      |   ^
answer.code:49:3: error: invalid preprocessing directive #e
   49 | # e = e * e;
      |   ^
answer.code:50:3: error: invalid preprocessing directive #e
   50 | # e = e * e;
      |   ^
answer.code:51:3: error: invalid preprocessing directive #e
   51 | # e = e * e;
      |   ^
answer.code:52:3: error: invalid preprocessing directive #e
   52 | # e = e * e;
      |   ^
answer.code:53:3: error: invalid preprocessing directive #e
   53 | # e = e * e;
      |   ^
answer.code:54:3: error: invalid preprocessing directive #e
   54 | # e = e * e;
      |   ^
answer.code:55:3: error: invalid preprocessing directive #e
   55 | # e = e * e;
      |   ^
answer.code:56:3: error: invalid preprocessing directive #e
   56 | # e = e * e;
      |   ^
answer.code:57:3: error: invalid preprocessing directive #e
   57 | # e = e * e;
      |   ^
answer.code:58:3: error: invalid preprocessing directive #e
   58 | # e = e * e;
      |   ^
answer.code:1:1: error: ‘ans’ does not name a type
    1 | ans = '''25
      | ^~~