Borderou de evaluare (job #2734861)
Utilizator | Data | 1 aprilie 2021 15:45:41 | |
---|---|---|---|
Problema | Spion | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int p1(char*)':
main.cpp:51:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i(0); i < strlen(c); ++i)
~~^~~~~~~~~~~
main.cpp: In function 'long long unsigned int p2(int, int)':
main.cpp:68:38: error: too few arguments to function 'long long int invMod(long long int, long long int)'
return numarator / invMod(numitor) % MOD;
^
main.cpp:15:11: note: declared here
long long invMod(long long a, long long M) {
^~~~~~
main.cpp:66:15: warning: unused variable 'M' [-Wunused-variable]
long long M(MOD);
^
main.cpp: In function 'int main()':
main.cpp:78:15: warning: unused variable 'd' [-Wunused-variable]
char *c, *d;
^
main.cpp:72:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.in", "r", stdin);
^
main.cpp:73:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.out", "w", stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !