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_39033494_14564.cpp: In function 'void solve()':
0_0_39033494_14564.cpp:3:5: error: 'll' was not declared in this scope
    3 |     ll n;cin >> n;
      |     ^~
0_0_39033494_14564.cpp:3:10: error: 'cin' was not declared in this scope
    3 |     ll n;cin >> n;
      |          ^~~
0_0_39033494_14564.cpp:3:17: error: 'n' was not declared in this scope
    3 |     ll n;cin >> n;
      |                 ^
0_0_39033494_14564.cpp:4:5: error: 'map' was not declared in this scope
    4 |     map<ll,ll> mp;ll t;
      |     ^~~
0_0_39033494_14564.cpp:4:16: error: 'mp' was not declared in this scope
    4 |     map<ll,ll> mp;ll t;
      |                ^~
0_0_39033494_14564.cpp:4:21: error: expected ';' before 't'
    4 |     map<ll,ll> mp;ll t;
      |                     ^~
      |                     ;
0_0_39033494_14564.cpp:5:11: error: 'i' was not declared in this scope
    5 |     FORLL(i,1,n){
      |           ^
0_0_39033494_14564.cpp:5:5: error: 'FORLL' was not declared in this scope
    5 |     FORLL(i,1,n){
      |     ^~~~~
0_0_39033494_14564.cpp:8:7: error: expected ';' before 'mxcnt'
    8 |     ll mxcnt=0,mxi=0,mn=0;
      |       ^~~~~~
      |       ;
0_0_39033494_14564.cpp:13:8: error: 'mxi' was not declared in this scope
   13 |     if(mxi<=mn) cout << YES;
      |        ^~~
0_0_39033494_14564.cpp:13:13: error: 'mn' was not declared in this scope
   13 |     if(mxi<=mn) cout << YES;
      |             ^~
0_0_39033494_14564.cpp:13:17: error: 'cout' was not declared in this scope
   13 |     if(mxi<=mn) cout << YES;
      |                 ^~~~
0_0_39033494_14564.cpp:13:25: error: 'YES' was not declared in this scope
   13 |     if(mxi<=mn) cout << YES;
      |                         ^~~
0_0_39033494_14564.cpp:14:10: error: 'cout' was not declared in this scope
   14 |     else cout << NO;
      |          ^~~~
0_0_39033494_14564.cpp:14:18: error: 'NO' was not declared in this scope
   14 |     else cout << NO;
      |                  ^~


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 21:40:52, Gzip enabled