Borderou de evaluare (job #2024175)
Utilizator | Data | 20 septembrie 2017 01:20:30 | |
---|---|---|---|
Problema | Qnp | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘lint getComb(int, int)’:
user.cpp:18:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k >= comb[n].size())
^
user.cpp: At global scope:
user.cpp:90:15: error: ‘int pow10 [70005]’ redeclared as different kind of symbol
int pow10[NMAX];
^
In file included from /usr/include/features.h:357:0,
from /usr/include/assert.h:37,
from /usr/include/c++/4.8/cassert:43,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:33,
from user.cpp:1:
/usr/include/i386-linux-gnu/bits/mathcalls.h:124:1: error: previous declaration of ‘double pow10(double)’
__MATHCALL (pow10,, (_Mdouble_ __x));
^
user.cpp: In function ‘int test()’:
user.cpp:165:37: warning: pointer to a function used in arithmetic [-Wpointer-arith]
res = (1LL * res * pow10[ans]) % MOD;
^
user.cpp:165:37: error: invalid operands of types ‘long long int’ and ‘double(double)throw ()’ to binary ‘operator*’
user.cpp: In function ‘int main()’:
user.cpp:174:12: warning: pointer to a function used in arithmetic [-Wpointer-arith]
pow10[0] = nr11[0] = 1;
^
user.cpp:174:14: error: assignment of function ‘double pow10(double)’
pow10[0] = nr11[0] = 1;
^
user.cpp:174:14: error: cannot convert ‘int’ to ‘double(double)throw ()’ in assignment
user.cpp:176:16: warning: pointer to a function used in arithmetic [-Wpointer-arith]
pow10[i] = (10LL * pow10[i - 1]) % MOD;
^
user.cpp:176:39: warning: pointer to a function used in arithmetic [-Wpointer-arith]
pow10[i] = (10LL * pow10[i - 1]) % MOD;
^
user.cpp:176:39: warning: pointer to a function used in arithmetic [-Wpointer-arith]
user.cpp:176:39: error: invalid operands of types ‘long long int’ and ‘double(double)throw ()’ to binary ‘operator*’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !