Borderou de evaluare (job #1759868)

Utilizator andru47Stefanescu Andru andru47 Data 19 septembrie 2016 22:40:37
Problema Dir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int coompara(char*, char*)’: user.cpp:49:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 1; i<=strlen(s1+1); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:112:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k = 1; k<=strlen(nume[sol[pos[i]][j]]+1); ++k) ^ user.cpp:73:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dir.in","r",stdin); ^ user.cpp:74:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dir.out","w",stdout); ^ user.cpp:75:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccwXMrLU.o: In function `main': user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit392kbTime limit exceeded.0
2Depăşit392kbTime limit exceeded.0
3Depăşit396kbTime limit exceeded.0
4Depăşit408kbTime limit exceeded.0
5Depăşit412kbTime limit exceeded.0
6Depăşit476kbTime limit exceeded.0
7Depăşit508kbTime limit exceeded.0
8Depăşit480kbTime limit exceeded.0
9Depăşit452kbTime limit exceeded.0
10Depăşit388kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?