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_20698752_19655.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include <stdio.h>  
         ^
0_0_20698752_19655.cpp:2:5: error: 'nbsp' declared as reference but not initialized
 int main(){  
     ^
0_0_20698752_19655.cpp: In function 'int main()':
0_0_20698752_19655.cpp:3:29: error: 'nbsp' declared as reference but not initialized
     int z;  
                             ^
0_0_20698752_19655.cpp:3:34: error: 'z' was not declared in this scope
     int z;  
                                  ^
0_0_20698752_19655.cpp:4:29: error: redeclaration of 'int& nbsp'
     int ah, am, as, bh, bm, bs, r;  
                             ^
0_0_20698752_19655.cpp:3:29: note: 'int& nbsp' previously declared here
     int z;  
                             ^
0_0_20698752_19655.cpp:4:34: error: 'ah' was not declared in this scope
     int ah, am, as, bh, bm, bs, r;  
                                  ^
0_0_20698752_19655.cpp:4:43: error: 'am' was not declared in this scope
     int ah, am, as, bh, bm, bs, r;  
                                           ^
0_0_20698752_19655.cpp:4:52: error: 'as' was not declared in this scope
     int ah, am, as, bh, bm, bs, r;  
                                                    ^
0_0_20698752_19655.cpp:4:61: error: 'bh' was not declared in this scope
     int ah, am, as, bh, bm, bs, r;  
                                                             ^
0_0_20698752_19655.cpp:4:70: error: 'bm' was not declared in this scope
     int ah, am, as, bh, bm, bs, r;  
                                                                      ^
0_0_20698752_19655.cpp:4:79: error: 'bs' was not declared in this scope
     int ah, am, as, bh, bm, bs, r;  
                                                                               ^
0_0_20698752_19655.cpp:4:88: error: 'r' was not declared in this scope
     int ah, am, as, bh, bm, bs, r;  
                                                                                        ^
0_0_20698752_19655.cpp:5:41: error: expected ')' before ';' token
     scanf("%d", &z);  
                                         ^
0_0_20698752_19655.cpp:6:30: error: expected '(' before '&' token
     while ( z-- ){  
                              ^
0_0_20698752_19655.cpp:6:35: error: expected ')' before ';' token
     while ( z-- ){  
                                   ^
0_0_20698752_19655.cpp:6:42: error: expected ')' before ';' token
     while ( z-- ){  
                                          ^
0_0_20698752_19655.cpp:6:52: error: expected primary-expression before ')' token
     while ( z-- ){  
                                                    ^
0_0_20698752_19655.cpp:14:32: error: invalid conversion from 'int*' to 'int' [-fpermissive]
     return 0;  
                                ^
0_0_20698752_19655.cpp: At global scope:
0_0_20698752_19655.cpp:15:7: error: expected constructor, destructor, or type conversion before ';' token
 }  
       ^
0_0_20698752_19655.cpp:15:13: error: expected constructor, destructor, or type conversion before ';' token
 }  
             ^


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-10-06 23:50:21, Gzip enabled