Pagini recente » Borderou de evaluare (job #1453554) | Borderou de evaluare (job #2061094) | Borderou de evaluare (job #760874) | Borderou de evaluare (job #2284779) | Borderou de evaluare (job #1697591)
Borderou de evaluare (job #1697591)
Raport evaluator
Compilare:
user.cpp: In function ‘int meet(punct, punct)’:
user.cpp:10:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a.x==b.x)
^
user.cpp: In function ‘int main()’:
user.cpp:26:18: warning: unused variable ‘l1’ [-Wunused-variable]
int n,m,nr,x,l1,l2,mij,elem,i;
^
user.cpp:26:21: warning: unused variable ‘l2’ [-Wunused-variable]
int n,m,nr,x,l1,l2,mij,elem,i;
^
user.cpp:26:24: warning: unused variable ‘mij’ [-Wunused-variable]
int n,m,nr,x,l1,l2,mij,elem,i;
^
user.cpp:24:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puncte.in","r",stdin);
^
user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puncte.out","w",stdout);
^
user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:30:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p[i].x,&p[i].y);
^
user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 8ms | 296kb | OK | 10 |
3 | 28ms | 328kb | OK | 10 |
4 | 80ms | 428kb | OK | 10 |
5 | 244ms | 1032kb | OK | 10 |
6 | 24ms | 320kb | OK | 10 |
7 | 260ms | 1032kb | OK | 10 |
8 | 276ms | 1060kb | OK | 10 |
9 | 284ms | 1064kb | OK | 10 |
10 | 284ms | 1060kb | OK | 10 |
Punctaj total | 100 |