Borderou de evaluare (job #1533077)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 21 noiembrie 2015 23:49:40
Problema Ciuperci Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int hFind(long long int)’: user.cpp:15:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < H[key].size(); i++) { ^ user.cpp: In function ‘void hAdd(std::pair<long long int, int>)’: user.cpp:26:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < H[key].size(); i++) { ^ user.cpp: In function ‘long long int atoll()’: user.cpp:60:27: warning: NULL used in arithmetic [-Wpointer-arith] for(i = 0; BUFF[i] != NULL; i++) { ^ user.cpp: In function ‘int main()’: user.cpp:67:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ciuperci.in", "r", stdin); ^ user.cpp:68:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ciuperci.out", "w", stdout); ^ user.cpp:74:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &q); ^ user.cpp:76:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(BUFF); ^ /tmp/ccctFIU6.o: In function `main': user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbOK1010
20ms268kbOK1010
34ms268kbOK1010
472ms292kbOK1010
5160ms292kbOK1010
6200ms308kbOK100
7224ms296kbOK10
8916ms304kbOK10
9908ms308kbOK10
10Depăşit300kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?