Pagini recente » Borderou de evaluare (job #656264) | Borderou de evaluare (job #656243) | Autentificare | Borderou de evaluare (job #656263) | Borderou de evaluare (job #2156331)
Borderou de evaluare (job #2156331)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mosia.in","r",stdin);
^
user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mosia.out","w",stdout);
^
user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:44:69: 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("%lf%lf%lf",&v[i].x,&v[i].y,&v[i].d);
^
user.cpp:57:16: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sort(v+poz+1,v+n+1,cmp2);
^
user.cpp:52:48: warning: ‘ymx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(v[i].x>xmx or (v[i].x==xmx && v[i].y>ymx))
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 756kb | Corect | 5 |
| 2 | 0ms | 752kb | Corect | 5 |
| 3 | 0ms | 792kb | Corect | 5 |
| 4 | 0ms | 872kb | Corect | 5 |
| 5 | 0ms | 864kb | Corect | 5 |
| 6 | 0ms | 756kb | Corect | 5 |
| 7 | 0ms | 876kb | Corect | 5 |
| 8 | 0ms | 876kb | Corect | 5 |
| 9 | 0ms | 864kb | Corect | 5 |
| 10 | 0ms | 872kb | Corect | 5 |
| 11 | 0ms | 796kb | Corect | 5 |
| 12 | 0ms | 872kb | Corect | 5 |
| 13 | 0ms | 816kb | Corect | 5 |
| 14 | 0ms | 792kb | Corect | 5 |
| 15 | 0ms | 936kb | Corect | 5 |
| 16 | 0ms | 860kb | Corect | 5 |
| 17 | 0ms | 796kb | Corect | 5 |
| 18 | 0ms | 804kb | Corect | 5 |
| 19 | 0ms | 796kb | Corect | 5 |
| 20 | 0ms | 856kb | Corect | 5 |
| Punctaj total | 100 |