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_36709687_1677.cpp:17:1: error: 'LL' does not name a type
 LL f(int x, int y, int& g, int& c)
 ^
0_0_36709687_1677.cpp: In function 'void init()':
0_0_36709687_1677.cpp:35:15: error: 'get_int' was not declared in this scope
      get_int(n);
               ^
0_0_36709687_1677.cpp: In function 'void solve()':
0_0_36709687_1677.cpp:47:14: error: 'LL' was not declared in this scope
              LL ff = f(i, j, g, c);
              ^
0_0_36709687_1677.cpp:51:21: error: expected ';' before 'a0'
                  LL a0 = (i + k * j) * j / ff;
                     ^
0_0_36709687_1677.cpp:52:21: error: expected ';' before 'd'
                  LL d = c * j * j / ff;
                     ^
0_0_36709687_1677.cpp:53:21: error: expected ';' before 'num'
                  LL num = (n - (i + k * j)) / (c * j) + 1;
                     ^
0_0_36709687_1677.cpp:54:32: error: 'a0' was not declared in this scope
                  ans = ((ans + a0 * num) % p + num * (num - 1) / 2 % p * d % p) % p;
                                ^
0_0_36709687_1677.cpp:54:37: error: 'num' was not declared in this scope
                  ans = ((ans + a0 * num) % p + num * (num - 1) / 2 % p * d % p) % p;
                                     ^
0_0_36709687_1677.cpp:54:74: error: 'd' was not declared in this scope
                  ans = ((ans + a0 * num) % p + num * (num - 1) / 2 % p * d % p) % p;
                                                                          ^
0_0_36709687_1677.cpp: In function 'int main()':
0_0_36709687_1677.cpp:64:15: error: 'get_int' was not declared in this scope
      get_int(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-06-17 15:37:07, Gzip enabled