Borderou de evaluare (job #1906402)

Utilizator akaprosAna Kapros akapros Data 6 martie 2017 13:49:08
Problema Showroom Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int in_hash(char*)’: user.cpp:46:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < H[c].size(); ++ j) ^ user.cpp:47:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m == strlen(a[H[c][j]]) && strcmp(a[H[c][j]], p) == 0) ^ user.cpp: In function ‘int Sieve()’: user.cpp:86:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘void read()’: user.cpp:137:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n", &n, &e, &r, &k); ^ user.cpp:140:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cczbXFru.o: In function `read()': user.cpp:(.text+0x718): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1116kbOK10
20ms1120kbOK10
312ms1140kbOK10
432ms1156kbOK10
5Depăşit1140kbTime limit exceeded.0
6Depăşit1144kbTime limit exceeded.0
7Depăşit1144kbTime limit exceeded.0
8Depăşit1164kbTime limit exceeded.0
912ms1116kbOK10
10Depăşit1156kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?