Borderou de evaluare (job #1770349)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 4 octombrie 2016 09:05:42
Problema Cele mai apropiate puncte din plan Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘double Min(int, int)’: user.cpp:82:15: warning: statement has no effect [-Wunused-value] for (i; i < A.size(); i++) ^ user.cpp:82:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i; i < A.size(); i++) ^ user.cpp:84:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (j+1 < B.size() && B[j+1].y<A[i].y) ^ user.cpp:96:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (sav + 1 < B.size() && abs(B[sav+1].y-A[i].y) < mn) ^ user.cpp: In function ‘int main()’: user.cpp:111:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmap.in","r",stdin); ^ user.cpp:112:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:114:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf", &v[i].x, &v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
180ms584kbOk10
276ms584kbOk10
3Depăşit1008kbTime limit exceeded.0
4Depăşit1012kbTime limit exceeded.0
5Depăşit1580kbTime limit exceeded.0
6Depăşit2152kbTime limit exceeded.0
7Depăşit2464kbTime limit exceeded.0
8Depăşit3976kbTime limit exceeded.0
9Depăşit2944kbTime limit exceeded.0
10Depăşit3976kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?