fork download
  1. t = int(input())
  2. for _ in range(t):
  3. n = int(input())
  4. ans = (power(24,n)9*(power(8,n)+18*(power(3,n)+9*(power(2,n)24
  5. ans //= 1000000007
  6. print(ans)
Compilation error #stdin compilation error #stdout 0.02s 27656KB
stdin
2
2
3
compilation info
Traceback (most recent call last):
  File "/usr/lib/python3.5/py_compile.py", line 125, in compile
    _optimize=optimize)
  File "<frozen importlib._bootstrap_external>", line 735, in source_to_code
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "./prog.py", line 4
    ans = (power(24,n)−9*(power(8,n)+18*(power(3,n)+9*(power(2,n)−24
                       ^
SyntaxError: invalid character in identifier

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.5/py_compile.py", line 129, in compile
    raise py_exc
py_compile.PyCompileError:   File "./prog.py", line 4
    ans = (power(24,n)−9*(power(8,n)+18*(power(3,n)+9*(power(2,n)−24
                       ^
SyntaxError: invalid character in identifier

stdout
Standard output is empty