Pagini recente » Borderou de evaluare (job #1939164) | Borderou de evaluare (job #2337625) | Borderou de evaluare (job #207661) | Borderou de evaluare (job #522887) | Borderou de evaluare (job #2503331)
Borderou de evaluare (job #2503331)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:74: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:47:18: warning: unused variable 'tip' [-Wunused-variable]
int n1,n,x,y,tip,xx,yy,m,cost,nr;
^~~
main.cpp:47:22: warning: unused variable 'xx' [-Wunused-variable]
int n1,n,x,y,tip,xx,yy,m,cost,nr;
^~
main.cpp:47:25: warning: unused variable 'yy' [-Wunused-variable]
int n1,n,x,y,tip,xx,yy,m,cost,nr;
^~
main.cpp:47: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:47:30: warning: unused variable 'cost' [-Wunused-variable]
int n1,n,x,y,tip,xx,yy,m,cost,nr;
^~~~
main.cpp:45: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:46: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:49:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n1);
^
main.cpp:52: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 | 10ms | 225kb | OK! | 10 |
3 | 49ms | 380kb | OK! | 10 |
4 | 301ms | 782kb | Time limit exceeded | 0 |
5 | 305ms | 512kb | Time limit exceeded | 0 |
6 | 301ms | 524kb | Time limit exceeded | 0 |
7 | 303ms | 589kb | Time limit exceeded | 0 |
8 | 301ms | 524kb | Time limit exceeded | 0 |
9 | 302ms | 651kb | Time limit exceeded | 0 |
10 | 305ms | 643kb | Time limit exceeded | 0 |
Punctaj total | 30 |