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_15393624_10536.c:4:1: error: unknown type name 'var'
 var editor, lang;
 ^
0_0_15393624_10536.c:5:3: error: unknown type name 'function'
 $(function () {
   ^
0_0_15393624_10536.c:9:1: error: unknown type name 'function'
 function submitModalDisplay() {
 ^
0_0_15393624_10536.c: In function 'submitModalDisplay':
0_0_15393624_10536.c:15:21: error: request for member 'remove' in something not a structure or union
     $('.CodeMirror').remove();
                     ^
0_0_15393624_10536.c:16:15: error: request for member 'val' in something not a structure or union
     $('#code').val('');
               ^
0_0_15393624_10536.c:16:20: error: empty character constant
     $('#code').val('');
                    ^
0_0_15393624_10536.c:17:5: error: 'codearea' undeclared (first use in this function)
     codearea = document.getElementById("code");
     ^
0_0_15393624_10536.c:17:5: note: each undeclared identifier is reported only once for each function it appears in
0_0_15393624_10536.c:17:16: error: 'document' undeclared (first use in this function)
     codearea = document.getElementById("code");
                ^
0_0_15393624_10536.c:18:14: error: 'CodeMirror' undeclared (first use in this function)
     editor = CodeMirror.fromTextArea(codearea, {
              ^
0_0_15393624_10536.c:18:48: error: expected expression before '{' token
     editor = CodeMirror.fromTextArea(codearea, {
                                                ^
0_0_15393624_10536.c:27:23: error: request for member 'addClass' in something not a structure or union
     $("#btnCLanguage").addClass("active");
                       ^
0_0_15393624_10536.c:28:22: error: request for member 'modal' in something not a structure or union
     $("#submitModal").modal('show');
                      ^
0_0_15393624_10536.c: At top level:
0_0_15393624_10536.c:30:1: error: unknown type name 'function'
 function cancelClick() {
 ^
0_0_15393624_10536.c: In function 'cancelClick':
0_0_15393624_10536.c:31:22: error: request for member 'modal' in something not a structure or union
     $("#submitModal").modal('hide');
                      ^
0_0_15393624_10536.c: At top level:
0_0_15393624_10536.c:33:1: error: unknown type name 'function'
 function submitClick(submiturl,statusurl,pid,cid) {
 ^
0_0_15393624_10536.c: In function 'submitClick':
0_0_15393624_10536.c:37:5: error: expected expression before '/' token
     //alert("submit");
     ^
0_0_15393624_10536.c:38:5: error: unknown type name 'var'
     var code = editor.getValue();
     ^
0_0_15393624_10536.c:38:22: error: request for member 'getValue' in something not a structure or union
     var code = editor.getValue();
                      ^
0_0_15393624_10536.c:39:5: error: '$' undeclared (first use in this function)
     $.ajax({
     ^
0_0_15393624_10536.c:39:12: error: expected expression before '{' token
     $.ajax({
            ^
0_0_15393624_10536.c:71:5: error: expected expression before '/' token
     //alert("end");
     ^
0_0_15393624_10536.c: At top level:
0_0_15393624_10536.c:73:1: error: unknown type name 'function'
 function contestsubmitClick(submiturl,statusurl,cid) {
 ^
0_0_15393624_10536.c: In function 'contestsubmitClick':
0_0_15393624_10536.c:74:53: error: request for member 'text' in something not a structure or union
     submitClick(submiturl,statusurl,$('#problem_id').text(),cid);
                                                     ^
0_0_15393624_10536.c: At top level:
0_0_15393624_10536.c:76:1: error: unknown type name 'function'
 function languageSelectClick(language) {
 ^
0_0_15393624_10536.c: In function 'languageSelectClick':
0_0_15393624_10536.c:77:23: error: request for member 'removeClass' in something not a structure or union
     $("#btnCLanguage").removeClass("active");
                       ^
0_0_15393624_10536.c:78:25: error: request for member 'removeClass' in something not a structure or union
     $("#btnCppLanguage").removeClass("active");
                         ^
0_0_15393624_10536.c:79:26: error: request for member 'removeClass' in something not a structure or union
     $("#btnJavaLanguage").removeClass("active");
                          ^
0_0_15393624_10536.c:80:18: error: invalid operands to binary + (have 'char *' and 'char *')
     $("#btn"+lang+"Language").removeClass("active");
                  ^
0_0_15393624_10536.c:81:5: error: unknown type name 'var'
     var paser;
     ^
0_0_15393624_10536.c:85:27: error: request for member 'addClass' in something not a structure or union
         $("#btnCLanguage").addClass("active");
                           ^
0_0_15393624_10536.c:90:29: error: request for member 'addClass' in something not a structure or union
         $("#btnCppLanguage").addClass("active");
                             ^
0_0_15393624_10536.c:95:30: error: request for member 'addClass' in something not a structure or union
         $("#btnJavaLanguage").addClass("active");
                              ^
0_0_15393624_10536.c:101:26: error: invalid operands to binary + (have 'char *' and 'char *')
         $("#btn"+language+"Language").addClass("active");
                          ^
0_0_15393624_10536.c:103:5: error: unknown type name 'var'
     var code = editor.getValue();
     ^
0_0_15393624_10536.c:103:22: error: request for member 'getValue' in something not a structure or union
     var code = editor.getValue();
                      ^
0_0_15393624_10536.c:104:21: error: request for member 'remove' in something not a structure or union
     $('.CodeMirror').remove();
                     ^
0_0_15393624_10536.c:105:5: error: 'codearea' undeclared (first use in this function)
     codearea = document.getElementById("code");
     ^
0_0_15393624_10536.c:105:16: error: 'document' undeclared (first use in this function)
     codearea = document.getElementById("code");
                ^
0_0_15393624_10536.c:106:14: error: 'CodeMirror' undeclared (first use in this function)
     editor = CodeMirror.fromTextArea(codearea, {
              ^
0_0_15393624_10536.c:106:48: error: expected expression before '{' token
     editor = CodeMirror.fromTextArea(codearea, {
                                                ^
0_0_15393624_10536.c:114:11: error: request for member 'setValue' in something not a structure or union
     editor.setValue(code);
           ^


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-26 08:37:15, Gzip enabled