F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39087620_20016.cpp:1:2: error: invalid preprocessing directive #!
    1 | #!/bin/python3
      |  ^
0_0_39087620_20016.cpp:15:9: error: empty character constant
   15 |         '''
      |         ^~
0_0_39087620_20016.cpp:15:11: error: missing terminating ' character
   15 |         '''
      |           ^
0_0_39087620_20016.cpp:22:9: error: empty character constant
   22 |         '''
      |         ^~
0_0_39087620_20016.cpp:22:11: error: missing terminating ' character
   22 |         '''
      |           ^
0_0_39087620_20016.cpp:23:10: error: invalid preprocessing directive #Translate
   23 |         #Translate
      |          ^~~~~~~~~
0_0_39087620_20016.cpp:24:112: error: stray '#' in program
   24 |         nucl_dict = SeqIO.to_dict(SeqIO.parse(input_file,"fasta"), key_function = lambda rec: rec.description) #keep whitespace in FASTA header
      |                                                                                                                ^
0_0_39087620_20016.cpp:30:23: error: stray '#' in program
   30 |         stop_sign = 0 #count how many sequences contain stop codon
      |                       ^
0_0_39087620_20016.cpp:45:10: error: invalid preprocessing directive #print
   45 |         #print(prot_dict)
      |          ^~~~~
0_0_39087620_20016.cpp:72:10: error: invalid preprocessing directive #Fasta
   72 |         #Fasta file info
      |          ^~~~~
0_0_39087620_20016.cpp:87:21: error: empty character constant
   87 |         inputfile = ''
      |                     ^~
0_0_39087620_20016.cpp:88:23: error: empty character constant
   88 |         proteinfile = ''
      |                       ^~
0_0_39087620_20016.cpp:89:15: error: empty character constant
   89 |         cnf = ''
      |               ^~
0_0_39087620_20016.cpp:90:15: error: empty character constant
   90 |         cpf = ''
      |               ^~
0_0_39087620_20016.cpp:91:23: error: empty character constant
   91 |         summaryfile = ''
      |                       ^~
0_0_39087620_20016.cpp:130:10: error: invalid preprocessing directive #translate2
  130 |         #translate2(sys.argv[1],sys.argv[2],sys.argv[3],sys.argv[4],sys.argv[5],sys.argv[6])
      |          ^~~~~~~~~~
0_0_39087620_20016.cpp:132:10: error: invalid preprocessing directive #print
  132 |         #print(inputfile, proteinfile, summaryfile, readstart, rev_comp, no_stop)
      |          ^~~~~
0_0_39087620_20016.cpp:133:10: error: invalid preprocessing directive #translate2
  133 |         #translate2('test.fasta','out1.fasta','out2.txt',1,False,True)
      |          ^~~~~~~~~~
0_0_39087620_20016.cpp:3:1: error: 'from' does not name a type
    3 | from Bio.Seq import translate, reverse_complement
      | ^~~~
0_0_39087620_20016.cpp:26:9: error: 'corr_nucl_dict' does not name a type
   26 |         corr_nucl_dict = {}
      |         ^~~~~~~~~~~~~~
0_0_39087620_20016.cpp:27:9: error: 'corr_prot_dict' does not name a type
   27 |         corr_prot_dict = {}
      |         ^~~~~~~~~~~~~~
0_0_39087620_20016.cpp:29:9: error: 'read_start' does not name a type
   29 |         read_start = int(read_start)
      |         ^~~~~~~~~~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-23 00:02:34, Gzip enabled