Borderou de evaluare (job #1102787)
Utilizator | Data | 9 februarie 2014 14:42:28 | |
---|---|---|---|
Problema | Memcpy | Status | done |
Runda | Algoritmiada 2014 - Runda 2, Clasele 9-10 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:40: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s += 1LL * t * i * j % mod;
^
user.cpp:21:19: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s %= mod;
^
user.cpp:21:19: error: in evaluation of ‘operator%=(long long int, float)’
user.cpp:29:46: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s += 1LL * t * x1 * y1 % mod;
^
user.cpp:30:23: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s %= mod;
^
user.cpp:30:23: error: in evaluation of ‘operator%=(long long int, float)’
user.cpp:39:40: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s += 1LL * t * i * j % mod;
^
user.cpp:40:19: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s %= mod;
^
user.cpp:40:19: error: in evaluation of ‘operator%=(long long int, float)’
user.cpp:48:46: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s += 1LL * t * x1 * y1 % mod;
^
user.cpp:49:23: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s %= mod;
^
user.cpp:49:23: error: in evaluation of ‘operator%=(long long int, float)’
user.cpp:63:40: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s += 1LL * t * i * j % mod;
^
user.cpp:64:19: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s %= mod;
^
user.cpp:64:19: error: in evaluation of ‘operator%=(long long int, float)’
user.cpp:72:46: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s += 1LL * t * x1 * y1 % mod;
^
user.cpp:73:23: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s %= mod;
^
user.cpp:73:23: error: in evaluation of ‘operator%=(long long int, float)’
user.cpp:82:40: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s += 1LL * t * i * j % mod;
^
user.cpp:83:19: error: invalid operands of types ‘long long int’ and ‘float’ to binary ‘operator%’
s %= mod;
^
user.cpp:83:19: error: in evaluation of ‘operator%=(long long int, float)’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !