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_15178757_30608.cpp:6:9: error: 'usinged' does not name a type
 typedef usinged long long ull;
         ^
0_0_15178757_30608.cpp: In function 'int main()':
0_0_15178757_30608.cpp:9:2: error: 'ull' was not declared in this scope
  ull n,m;
  ^
0_0_15178757_30608.cpp:10:9: error: 'cin' was not declared in this scope
  while (cin >> n >> m)
         ^
0_0_15178757_30608.cpp:10:16: error: 'n' was not declared in this scope
  while (cin >> n >> m)
                ^
0_0_15178757_30608.cpp:10:21: error: 'm' was not declared in this scope
  while (cin >> n >> m)
                     ^
0_0_15178757_30608.cpp:13:4: error: 'cout' was not declared in this scope
    cout << 1 << endl;
    ^
0_0_15178757_30608.cpp:13:17: error: 'endl' was not declared in this scope
    cout << 1 << endl;
                 ^
0_0_15178757_30608.cpp:29:6: error: 'ans' was not declared in this scope
      ans = max(ans,t);
      ^
0_0_15178757_30608.cpp:29:21: error: 'max' was not declared in this scope
      ans = max(ans,t);
                     ^
0_0_15178757_30608.cpp:38:5: error: 'ans' was not declared in this scope
     ans = max(ans,t);
     ^
0_0_15178757_30608.cpp:38:20: error: 'max' was not declared in this scope
     ans = max(ans,t);
                    ^
0_0_15178757_30608.cpp:40:21: error: 'cout' was not declared in this scope
    if (flag || m>1) cout << -1 << endl;
                     ^
0_0_15178757_30608.cpp:40:35: error: 'endl' was not declared in this scope
    if (flag || m>1) cout << -1 << endl;
                                   ^
0_0_15178757_30608.cpp:42:5: error: 'cout' was not declared in this scope
     cout << ans << endl;
     ^
0_0_15178757_30608.cpp:42:13: error: 'ans' was not declared in this scope
     cout << ans << endl;
             ^
0_0_15178757_30608.cpp:42:20: error: 'endl' was not declared in this scope
     cout << ans << endl;
                    ^


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-16 23:31:40, Gzip enabled