Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_867_1601_22798.cpp: In function 'int main()':
1_867_1601_22798.cpp:8:14: error: expected unqualified-id before 'long'
  for(int i=1,long long x;i<=t;i++)
              ^
1_867_1601_22798.cpp:8:14: error: expected ';' before 'long'
1_867_1601_22798.cpp:8:14: error: expected primary-expression before 'long'
1_867_1601_22798.cpp:8:14: error: expected ';' before 'long'
1_867_1601_22798.cpp:8:14: error: expected primary-expression before 'long'
1_867_1601_22798.cpp:8:14: error: expected ')' before 'long'
1_867_1601_22798.cpp:8:26: error: 'i' was not declared in this scope
  for(int i=1,long long x;i<=t;i++)
                          ^


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-28 14:54:51, Gzip enabled