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_37727682_21435.cpp:5:13: error: 'll' does not name a type
 #define int ll 
             ^
0_0_37727682_21435.cpp:6:7: note: in expansion of macro 'int'
 const int mo = 79205;
       ^
0_0_37727682_21435.cpp:5:13: error: 'll' does not name a type
 #define int ll 
             ^
0_0_37727682_21435.cpp:7:1: note: in expansion of macro 'int'
 int dp[mo + 10];
 ^
0_0_37727682_21435.cpp:5:13: error: 'll' does not name a type
 #define int ll 
             ^
0_0_37727682_21435.cpp:8:1: note: in expansion of macro 'int'
 int t, n, ans,tt;
 ^
0_0_37727682_21435.cpp:5:13: error: 'll' does not name a type
 #define int ll 
             ^
0_0_37727682_21435.cpp:9:1: note: in expansion of macro 'int'
 int val[] = { 7,31,365 };
 ^
0_0_37727682_21435.cpp: In function 'int main()':
0_0_37727682_21435.cpp:5:13: error: 'll' was not declared in this scope
 #define int ll 
             ^
0_0_37727682_21435.cpp:15:7: note: in expansion of macro 'int'
  for (int i = 1; i <= 79215; i++)
       ^
0_0_37727682_21435.cpp:15:18: error: 'i' was not declared in this scope
  for (int i = 1; i <= 79215; i++)
                  ^
0_0_37727682_21435.cpp:16:3: error: 'dp' was not declared in this scope
   dp[i] = INF;
   ^
0_0_37727682_21435.cpp:5:13: error: 'll' was not declared in this scope
 #define int ll 
             ^
0_0_37727682_21435.cpp:18:7: note: in expansion of macro 'int'
  for (int i = 1; i <= 79215; i++)
       ^
0_0_37727682_21435.cpp:18:18: error: 'i' was not declared in this scope
  for (int i = 1; i <= 79215; i++)
                  ^
0_0_37727682_21435.cpp:20:12: error: expected ';' before 'j'
   for (int j = 0; j < 3; j++)
            ^
0_0_37727682_21435.cpp:20:19: error: 'j' was not declared in this scope
   for (int j = 0; j < 3; j++)
                   ^
0_0_37727682_21435.cpp:22:13: error: 'val' was not declared in this scope
    if (i >= val[j])
             ^
0_0_37727682_21435.cpp:23:5: error: 'dp' was not declared in this scope
     dp[i] = min(dp[i], dp[i - val[j]] + 1);
     ^
0_0_37727682_21435.cpp:26:9: error: 't' was not declared in this scope
  cin >> t;
         ^
0_0_37727682_21435.cpp:29:10: error: 'n' was not declared in this scope
   cin >> n;
          ^
0_0_37727682_21435.cpp:30:11: error: 'mo' was not declared in this scope
   if (n % mo == 0) cout << n / 365 << endl;
           ^
0_0_37727682_21435.cpp:33:4: error: 'ans' was not declared in this scope
    ans = 0;
    ^
0_0_37727682_21435.cpp:36:8: error: 'dp' was not declared in this scope
    if (dp[n] == INF) cout << -1 << 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-27 01:41:55, Gzip enabled