Pagini recente » Borderou de evaluare (job #3030462) | Borderou de evaluare (job #2659600) | Borderou de evaluare (job #1380416) | Borderou de evaluare (job #2773609) | Borderou de evaluare (job #1446922)
Borderou de evaluare (job #1446922)
Raport evaluator
Compilare:
user.cpp: In function ‘int finddifmin(node*)’:
user.cpp:95:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int findmin(node*)’:
user.cpp:78:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int findmax(node*)’:
user.cpp:83:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:97:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeap.in","r",stdin);
^
user.cpp:98:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeap.out","w",stdout);
^
user.cpp:102:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",ss); s=ss;
^
user.cpp:105:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (s=="I") { scanf("%d",&x); nr++; insert(root,x,rand()+1); y=0; } else
^
user.cpp:106:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (s=="S") { scanf("%d",&x); ok=false; erase(root,x); y=0;
^
user.cpp:109:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (s=="C") { scanf("%d",&x); printf("%d\n",find(root,x)); y=0; }
^
user.cpp:110:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Incorect | 0 |
2 | 0ms | 284kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 284kb | Killed by signal 11(SIGSEGV). | 0 |
4 | Depăşit | 536kb | Time limit exceeded. | 0 |
5 | Depăşit | 660kb | Time limit exceeded. | 0 |
6 | Depăşit | 672kb | Time limit exceeded. | 0 |
7 | Depăşit | 752kb | Time limit exceeded. | 0 |
8 | Depăşit | 660kb | Time limit exceeded. | 0 |
9 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 480ms | 4312kb | OK | 10 |
Punctaj total | 10 |