Pagini recente » Borderou de evaluare (job #2301390) | Borderou de evaluare (job #2707872) | Borderou de evaluare (job #1237475) | Borderou de evaluare (job #2366901) | Borderou de evaluare (job #2756698)
Borderou de evaluare (job #2756698)
Raport evaluator
Compilare:
main.cpp: In function 'void cb(int, int, int)':
main.cpp:23:19: warning: unused variable 'last' [-Wunused-variable]
int st=1,dr=n,last;
^~~~
main.cpp: In function 'int dfs(int)':
main.cpp:40:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<l[nod].size();i++){
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:71:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=sz.size()-1;i>=sz.size()-k;i--)
~^~~~~~~~~~~~~
main.cpp:49:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.in","r",stdin);
^
main.cpp:50:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.out","w",stdout);
^
main.cpp:51:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
main.cpp:53:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 524kb | OK | 10 |
2 | 5ms | 524kb | OK | 10 |
3 | 7ms | 655kb | OK | 10 |
4 | 20ms | 1310kb | Killed by Signal 11 | 0 |
5 | 17ms | 1048kb | OK | 10 |
6 | 27ms | 1310kb | OK | 10 |
7 | 26ms | 917kb | OK | 10 |
8 | 28ms | 1572kb | OK | 10 |
9 | 26ms | 1179kb | OK | 10 |
10 | 26ms | 917kb | OK | 10 |
Punctaj total | 90 |