Pagini recente » Borderou de evaluare (job #1167403) | Borderou de evaluare (job #2932116) | Borderou de evaluare (job #1830099) | Borderou de evaluare (job #2642065) | Borderou de evaluare (job #2756697)
Borderou de evaluare (job #2756697)
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:72: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 | 4ms | 524kb | OK | 10 |
2 | 5ms | 524kb | OK | 10 |
3 | 7ms | 655kb | OK | 10 |
4 | 20ms | 1310kb | Killed by Signal 11 | 0 |
5 | 21ms | 1048kb | OK | 10 |
6 | 27ms | 1179kb | OK | 10 |
7 | 17ms | 655kb | Killed by Signal 11 | 0 |
8 | 29ms | 1572kb | OK | 10 |
9 | 15ms | 655kb | Killed by Signal 11 | 0 |
10 | 17ms | 655kb | Killed by Signal 11 | 0 |
Punctaj total | 60 |