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_21958883_12290.cpp:14:8: error: 'll' was not declared in this scope
 vector<ll> prime,digit,cnt;
        ^
0_0_21958883_12290.cpp:14:10: error: template argument 1 is invalid
 vector<ll> prime,digit,cnt;
          ^
0_0_21958883_12290.cpp:14:10: error: template argument 2 is invalid
0_0_21958883_12290.cpp:14:17: error: invalid type in declaration before ',' token
 vector<ll> prime,digit,cnt;
                 ^
0_0_21958883_12290.cpp: In function 'void getPrime()':
0_0_21958883_12290.cpp:17:11: error: request for member 'clear' in 'prime', which is of non-class type 'int'
     prime.clear();
           ^
0_0_21958883_12290.cpp:21:19: error: request for member 'push_back' in 'prime', which is of non-class type 'int'
             prime.push_back(i);
                   ^
0_0_21958883_12290.cpp: In function 'void getDigit(long long unsigned int)':
0_0_21958883_12290.cpp:30:30: error: request for member 'size' in 'prime', which is of non-class type 'int'
     for(int i = 0; i < prime.size() && k >= prime[i]; i++){
                              ^
0_0_21958883_12290.cpp:30:52: error: invalid types 'int[int]' for array subscript
     for(int i = 0; i < prime.size() && k >= prime[i]; i++){
                                                    ^
0_0_21958883_12290.cpp:31:21: error: invalid types 'int[int]' for array subscript
         if(k%prime[i]==0){
                     ^
0_0_21958883_12290.cpp:33:19: error: request for member 'push_back' in 'digit', which is of non-class type 'int'
             digit.push_back(prime[i]);
                   ^
0_0_21958883_12290.cpp:33:36: error: invalid types 'int[int]' for array subscript
             digit.push_back(prime[i]);
                                    ^
0_0_21958883_12290.cpp:34:28: error: invalid types 'int[int]' for array subscript
             while(k%prime[i]==0){
                            ^
0_0_21958883_12290.cpp:36:29: error: invalid types 'int[int]' for array subscript
                 k /= prime[i];
                             ^
0_0_21958883_12290.cpp:38:17: error: request for member 'push_back' in 'cnt', which is of non-class type 'int'
             cnt.push_back(tt);
                 ^
0_0_21958883_12290.cpp:42:15: error: request for member 'push_back' in 'digit', which is of non-class type 'int'
         digit.push_back(k);
               ^
0_0_21958883_12290.cpp:43:13: error: request for member 'push_back' in 'cnt', which is of non-class type 'int'
         cnt.push_back(1);
             ^
0_0_21958883_12290.cpp: In function 'int main()':
0_0_21958883_12290.cpp:67:15: error: request for member 'clear' in 'digit', which is of non-class type 'int'
         digit.clear();
               ^
0_0_21958883_12290.cpp:68:13: error: request for member 'clear' in 'cnt', which is of non-class type 'int'
         cnt.clear();
             ^
0_0_21958883_12290.cpp:71:34: error: request for member 'size' in 'digit', which is of non-class type 'int'
         for(int i = 0; i < digit.size(); i++){
                                  ^
0_0_21958883_12290.cpp:72:37: error: invalid types 'int[int]' for array subscript
             LL tk = getSum(n,digit[i])/cnt[i];
                                     ^
0_0_21958883_12290.cpp:72:45: error: invalid types 'int[int]' for array subscript
             LL tk = getSum(n,digit[i])/cnt[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-10 12:18:39, Gzip enabled