Borderou de evaluare (job #2216361)
Utilizator | Data | 26 iunie 2018 15:08:04 | |
---|---|---|---|
Problema | Spion | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int logpow(long long int, int)’:
user.cpp:16:25: error: ‘t’ was not declared in this scope
ans = 1LL * ans * t % mod;
^
user.cpp:15:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (b & 1)
^~
user.cpp:17:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
b >>= 1;
^
user.cpp: In function ‘int main()’:
user.cpp:34:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); i++) {
~~^~~~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !