Borderou de evaluare (job #2730006)
Utilizator | Data | 25 martie 2021 18:03:16 | |
---|---|---|---|
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:17: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:29:24: error: 'k' was not declared in this scope
for(int i(1); i <= k; ++i)
^
main.cpp: In function 'int main()':
main.cpp:45:15: warning: unused variable 'd' [-Wunused-variable]
char *c, *d;
^
main.cpp:39: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:40: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 !