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_39147050_6819.cpp: In function 'long long int red()':
0_0_39147050_6819.cpp:24:20: error: 'amp' was not declared in this scope
   24 |     while(ch>='0' && ch<='9')
      |                    ^~~
0_0_39147050_6819.cpp:24:23: error: expected ')' before ';' token
   24 |     while(ch>='0' && ch<='9')
      |          ~            ^
      |                       )
0_0_39147050_6819.cpp:24:25: error: 'amp' was not declared in this scope
   24 |     while(ch>='0' && ch<='9')
      |                         ^~~
0_0_39147050_6819.cpp:24:37: error: expected ';' before ')' token
   24 |     while(ch>='0' && ch<='9')
      |                                     ^
      |                                     ;
0_0_39147050_6819.cpp: In function 'void solve()':
0_0_39147050_6819.cpp:50:31: error: 'amp' was not declared in this scope
   50 |                     if((c>>k)&1){
      |                               ^~~
0_0_39147050_6819.cpp:65:35: error: 'amp' was not declared in this scope
   65 |                         if((c>>k)&1){
      |                                   ^~~
0_0_39147050_6819.cpp:76:32: error: 'amp' was not declared in this scope
   76 |         if(a[i]<=st[cnt].first&&cnt!=0){
      |                                ^~~
0_0_39147050_6819.cpp:76:40: error: expected ')' before ';' token
   76 |         if(a[i]<=st[cnt].first&&cnt!=0){
      |           ~                            ^
      |                                        )
0_0_39147050_6819.cpp:76:47: error: expected ';' before ')' token
   76 |         if(a[i]<=st[cnt].first&&cnt!=0){
      |                                               ^
      |                                               ;
0_0_39147050_6819.cpp:82:31: error: 'amp' was not declared in this scope
   82 |         if(a[i]>st[cnt].first&&cnt!=0){
      |                               ^~~
0_0_39147050_6819.cpp:82:39: error: expected ')' before ';' token
   82 |         if(a[i]>st[cnt].first&&cnt!=0){
      |           ~                           ^
      |                                       )
0_0_39147050_6819.cpp:82:46: error: expected ';' before ')' token
   82 |         if(a[i]>st[cnt].first&&cnt!=0){
      |                                              ^
      |                                              ;
0_0_39147050_6819.cpp:114:21: error: 'amp' was not declared in this scope
  114 |        if(h[i-1][j]&1){
      |                     ^~~
0_0_39147050_6819.cpp:121:20: error: 'amp' was not declared in this scope
  121 |        if(h1[i][j]&1){
      |                    ^~~


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-22 22:13:47, Gzip enabled