Pagini recente » Borderou de evaluare (job #2834712) | Borderou de evaluare (job #1044476) | Borderou de evaluare (job #1210326) | Borderou de evaluare (job #1402087) | Borderou de evaluare (job #2025509)
Borderou de evaluare (job #2025509)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:9: warning: unused variable ‘nod’ [-Wunused-variable]
int nod=1;
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cablaj.in","r",stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cablaj.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d%d",&vx[i],&vy[i]);
^
user.cpp:29:78: warning: ‘nod’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int c=(vx[nod]-vx[j])*(vx[nod]-vx[j])+(vy[nod]-vy[j])*(vy[nod]-vy[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 316kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 316kb | OK | 10 |
4 | 4ms | 324kb | OK | 10 |
5 | 12ms | 328kb | OK | 10 |
6 | 24ms | 340kb | OK | 10 |
7 | 48ms | 340kb | OK | 10 |
8 | 76ms | 336kb | OK | 10 |
9 | 112ms | 336kb | OK | 10 |
10 | 108ms | 336kb | OK | 10 |
Punctaj total | 100 |