Pagini recente » Borderou de evaluare (job #2564234) | Borderou de evaluare (job #796628) | Borderou de evaluare (job #1657058) | Borderou de evaluare (job #2319162) | Borderou de evaluare (job #1533074)
Borderou de evaluare (job #1533074)
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/ccN8kZVQ.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 |
1 | 0ms | 268kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 4ms | 272kb | OK | 10 | 10 |
4 | 72ms | 288kb | OK | 10 | 10 |
5 | 164ms | 292kb | OK | 10 | 10 |
6 | 200ms | 300kb | OK | 10 | 0 |
7 | 224ms | 296kb | OK | 10 |
8 | 924ms | 304kb | OK | 10 |
9 | 912ms | 308kb | OK | 10 |
10 | Depăşit | 300kb | Time limit exceeded. | 0 |
Punctaj total | 50 |