Borderou de evaluare (job #1770352)

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

Raport evaluator

Compilare: user.cpp: In function ‘double Min(int, int)’: user.cpp:81:15: warning: statement has no effect [-Wunused-value] for (i; i < A.size(); i++) ^ user.cpp:81:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i; i < A.size(); i++) ^ user.cpp:83: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:95: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:110: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:111:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:113: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
176ms576kbIncorect0
276ms572kbIncorect0
3Depăşit788kbTime limit exceeded.0
4Depăşit856kbTime limit exceeded.0
5Depăşit1568kbTime limit exceeded.0
6Depăşit1880kbTime limit exceeded.0
7Depăşit3500kbTime limit exceeded.0
8Depăşit2920kbTime limit exceeded.0
9Depăşit3964kbTime limit exceeded.0
10Depăşit3960kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?