Pagini recente » Borderou de evaluare (job #2003416) | Borderou de evaluare (job #1550112) | Borderou de evaluare (job #558958) | Borderou de evaluare (job #759534) | Borderou de evaluare (job #1471982)
Borderou de evaluare (job #1471982)
Raport evaluator
Compilare:
user.cpp: In function ‘int in_hash(int, char*, int)’:
user.cpp:32:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp:33:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (strlen(a[V[x][i]]) == l && scmp(a[V[x][i]], s, l))
^
user.cpp: In function ‘void read()’:
user.cpp:40:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie2.in", "r", stdin);
^
user.cpp:41:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:43:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:49:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[j]);
^
user.cpp: In function ‘void write()’:
user.cpp:84:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie2.out", "w", stdout);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:49:19:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccwWgooa.o: In function `read()':
user.cpp:(.text+0x425): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text+0x38e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 8096kb | OK | 10 | 10 |
2 | 12ms | 8100kb | OK | 10 | 10 |
3 | 16ms | 8164kb | OK | 10 | 10 |
4 | 20ms | 8148kb | OK | 10 | 10 |
5 | 20ms | 8188kb | OK | 10 | 10 |
6 | 64ms | 8572kb | OK | 10 | 0 |
7 | Depăşit | 8392kb | Time limit exceeded. | 0 |
8 | 68ms | 8616kb | OK | 10 | 0 |
9 | Depăşit | 8500kb | Time limit exceeded. | 0 |
10 | Depăşit | 8600kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 50 |