Borderou de evaluare (job #1422708)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Hash::rmKey(long int, long int)’:
user.cpp:25:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<C[key].size();i++){
^
user.cpp: In member function ‘bool Hash::isKey(long int, long int)’:
user.cpp:35:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<C[key].size();i++)
^
user.cpp: In function ‘bool Check()’:
user.cpp:58:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[node].size();i++){
^
user.cpp:63:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<nodes.size();i++){
^
user.cpp:64:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=i+1;j<nodes.size();j++){
^
user.cpp: In function ‘void Try(long int)’:
user.cpp:72:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pas==list[node].size()){
^
user.cpp: In function ‘int main()’:
user.cpp:113:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[node].size();i++){
^
user.cpp:117:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<list[newNode].size();j++){
^
user.cpp:128:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[node].size();i++){
^
user.cpp:139:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if(ans[4]) printf("%ld %ld",4,ans[4]); else
^
user.cpp:140:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
if(ans[3]) printf("%ld %ld",3,ans[3]); else
^
user.cpp:141:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld",2,ans[2]);
^
user.cpp:88:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("count.in","r",stdin);
^
user.cpp:89:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("count.out","w",stdout);
^
user.cpp:91:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 8612kb | OK | 10 |
2 | 16ms | 8612kb | OK | 10 |
3 | 16ms | 8624kb | OK | 10 |
4 | 16ms | 8648kb | OK | 10 |
5 | 20ms | 8740kb | Incorect | 0 |
6 | 28ms | 8824kb | Incorect | 0 |
7 | 28ms | 8740kb | Incorect | 0 |
8 | Depăşit | 10048kb | Time limit exceeded. | 0 |
9 | 288ms | 11568kb | OK | 10 |
10 | Depăşit | 11340kb | Time limit exceeded. | 0 |
Punctaj total | 50 |