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_36575081_23492.cpp:16:19: error: declaration does not declare anything [-fpermissive]
 typedef long long int;
                   ^
0_0_36575081_23492.cpp:32:1: error: 'll' does not name a type
 ll sum[N + 10][22];
 ^
0_0_36575081_23492.cpp: In function 'int solve(int, int)':
0_0_36575081_23492.cpp:63:7: error: 'll' was not declared in this scope
  for (ll i = 1, la = 0; i <= n; i = la + 1) {
       ^
0_0_36575081_23492.cpp:63:25: error: 'i' was not declared in this scope
  for (ll i = 1, la = 0; i <= n; i = la + 1) {
                         ^
0_0_36575081_23492.cpp:63:37: error: 'la' was not declared in this scope
  for (ll i = 1, la = 0; i <= n; i = la + 1) {
                                     ^
0_0_36575081_23492.cpp:65:11: error: 'sum' was not declared in this scope
   ans += (sum[la][p] - sum[i - 1][p])*(n / i)*(m / i);
           ^
0_0_36575081_23492.cpp: In function 'int main()':
0_0_36575081_23492.cpp:74:4: error: 'sum' was not declared in this scope
    sum[j][cnt[i]] += mu[j / i];
    ^
0_0_36575081_23492.cpp:80:4: error: 'sum' was not declared in this scope
    sum[j][i] += sum[j][i - 1];
    ^
0_0_36575081_23492.cpp:86:4: error: 'sum' was not declared in this scope
    sum[j][i] += sum[j-1][i];
    ^
0_0_36575081_23492.cpp:95:22: error: 'll' was not declared in this scope
    printf("%lld\n", (ll)n*m);
                      ^


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-23 06:19:52, Gzip enabled