Borderou de evaluare (job #1471441)

Utilizator akaprosAna Kapros akapros Data 13 august 2015 22:26:00
Problema Substr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int in_hash(int, int, int)’: user.cpp:33:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (scmp(V[x][i], y, z)) ^ user.cpp: In function ‘void read()’: user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("substr.in", "r", stdin); ^ user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &k); ^ user.cpp:17:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp: In function ‘void write()’: user.cpp:79:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] printf("%d", bs()); ^ /tmp/ccSUaLDi.o: In function `read()': user.cpp:(.text+0x7f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1176kbTime limit exceeded.0
2Depăşit1180kbTime limit exceeded.0
3Depăşit1176kbTime limit exceeded.0
424ms1300kbOK10
5Depăşit1176kbTime limit exceeded.0
6Depăşit1176kbTime limit exceeded.0
70ms828kbOK10
848ms896kbOK10
90ms924kbOK10
10Depăşit1436kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?