Pagini recente » Borderou de evaluare (job #1375362) | Borderou de evaluare (job #3270999) | Borderou de evaluare (job #2417856) | Borderou de evaluare (job #1659316) | Borderou de evaluare (job #2503335)
Borderou de evaluare (job #2503335)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:66:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i=0;i<v2.size();i++)
~^~~~~~~~~~
main.cpp:78:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(register int i=0;i<v1.size()&&nr<n-1;i++)
~^~~~~~~~~~
main.cpp:48:18: warning: unused variable 'tip' [-Wunused-variable]
int n1,n,x,y,tip,xx,yy,m,cost,nr;
^~~
main.cpp:48:22: warning: unused variable 'xx' [-Wunused-variable]
int n1,n,x,y,tip,xx,yy,m,cost,nr;
^~
main.cpp:48:25: warning: unused variable 'yy' [-Wunused-variable]
int n1,n,x,y,tip,xx,yy,m,cost,nr;
^~
main.cpp:48:28: warning: variable 'm' set but not used [-Wunused-but-set-variable]
int n1,n,x,y,tip,xx,yy,m,cost,nr;
^
main.cpp:48:30: warning: unused variable 'cost' [-Wunused-variable]
int n1,n,x,y,tip,xx,yy,m,cost,nr;
^~~~
main.cpp:46:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("desen.in","r",stdin);
^
main.cpp:47:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("desen.out","w",stdout);
^
main.cpp:50:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n1);
^
main.cpp:53:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK! | 10 |
2 | 3ms | 131kb | OK! | 10 |
3 | 5ms | 200kb | OK! | 10 |
4 | 62ms | 200kb | OK! | 10 |
5 | 204ms | 262kb | OK! | 10 |
6 | 204ms | 262kb | OK! | 10 |
7 | 216ms | 208kb | OK! | 10 |
8 | 214ms | 262kb | OK! | 10 |
9 | 201ms | 217kb | OK! | 10 |
10 | 255ms | 131kb | OK! | 10 |
Punctaj total | 100 |