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_21807535_5651.cpp: In function 'int solve()':
0_0_21807535_5651.cpp:29:2: error: 'nbsp' was not declared in this scope
     for (int i = 1; i <= n; i++)
  ^
0_0_21807535_5651.cpp:31:56: error: 'i' was not declared in this scope
         belong[i] = i;
                                                        ^
0_0_21807535_5651.cpp:33:83: error: 'j' was not declared in this scope
             if (i % p[j] == 0)
                                                                                   ^
0_0_21807535_5651.cpp:35:107: error: 'j' was not declared in this scope
                 if (i% (p[j]*p[j]) == 0)
                                                                                                           ^
0_0_21807535_5651.cpp:37:133: error: break statement not within loop or switch
                     st[i] = -1; break;
                                                                                                                                     ^
0_0_21807535_5651.cpp:39:109: error: 'j' was not declared in this scope
                 st[i] |= 1<<j;
                                                                                                             ^
0_0_21807535_5651.cpp:42:66: error: continue statement not within a loop
         if (st[i] == -1) continue;
                                                                  ^
0_0_21807535_5651.cpp:44:49: error: 'else' without a previous 'if'
         else v[belong[i]].push_back(i);
                                                 ^
0_0_21807535_5651.cpp:49:56: error: 'i' was not declared in this scope
         if (st[i] == -1 || v[i].size() == 0) continue;
                                                        ^
0_0_21807535_5651.cpp:49:86: error: continue statement not within a loop
         if (st[i] == -1 || v[i].size() == 0) continue;
                                                                                      ^
0_0_21807535_5651.cpp:52:115: error: 'i' was not declared in this scope
                 for (auto & x : v[i])
                                                                                                                   ^
0_0_21807535_5651.cpp:54:132: error: 'x' was not declared in this scope
                     int p = st[x];
                                                                                                                                    ^
0_0_21807535_5651.cpp:55:129: error: 'j' was not declared in this scope
                     if (!(p&j)) dp[l][p|j] = (dp[l][p|j] + dp[l-1][j]) % MOD;
                                                                                                                                 ^
0_0_21807535_5651.cpp:55:136: error: 'l' was not declared in this scope
                     if (!(p&j)) dp[l][p|j] = (dp[l][p|j] + dp[l-1][j]) % MOD;
                                                                                                                                        ^
0_0_21807535_5651.cpp:61:89: error: 'i' was not declared in this scope
             ans = (ans + dp[i][j]) % MOD;
                                                                                         ^
0_0_21807535_5651.cpp:61:92: error: 'j' was not declared in this scope
             ans = (ans + dp[i][j]) % MOD;
                                                                                            ^
0_0_21807535_5651.cpp: In function 'int main()':
0_0_21807535_5651.cpp:66:2: error: 'nbsp' was not declared in this scope
     scanf("%d", &t);
  ^


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-09-21 15:51:18, Gzip enabled