Pagini recente » Borderou de evaluare (job #1416054) | Borderou de evaluare (job #1930150) | Cod sursa (job #2966793) | Borderou de evaluare (job #213244) | Borderou de evaluare (job #2015595)
Borderou de evaluare (job #2015595)
Raport evaluator
Compilare:
user.cpp: In function ‘int cautabin(interval)’:
user.cpp:40:9: warning: unused variable ‘st’ [-Wunused-variable]
int st=plm.y,dr=plm.x;
^
user.cpp: In function ‘int main()’:
user.cpp:53:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x,y;
^
user.cpp:53:13: warning: unused variable ‘x’ [-Wunused-variable]
int i,j,x,y;
^
user.cpp:53:15: warning: unused variable ‘y’ [-Wunused-variable]
int i,j,x,y;
^
user.cpp:54:10: warning: unused variable ‘exista1’ [-Wunused-variable]
bool exista1=0,exista2=0;
^
user.cpp:54:20: warning: unused variable ‘exista2’ [-Wunused-variable]
bool exista1=0,exista2=0;
^
user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("licenta.in","r",stdin);
^
user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("licenta.out","w",stdout);
^
user.cpp:55:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
user.cpp:56:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:58:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&altu[i].x,&altu[i].y);
^
user.cpp:72:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:74:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&altu[i].x,&altu[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 336kb | OK | 10 |
2 | 4ms | 328kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 4ms | 332kb | OK | 10 |
5 | 12ms | 328kb | OK | 10 |
6 | 96ms | 1056kb | OK | 10 |
7 | 140ms | 1064kb | OK | 10 |
8 | 140ms | 1044kb | OK | 10 |
9 | 140ms | 1056kb | OK | 10 |
10 | 140ms | 1032kb | OK | 10 |
Punctaj total | 100 |