Borderou de evaluare (job #1770221)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 3 octombrie 2016 21:47:58
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:69:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < A.size(); i++) ^ user.cpp:71:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (j+1 < B.size() && B[j+1].y>A[i].y) ^ user.cpp:75:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (sav < B.size() && sav >= 0 && abs(B[sav].y-A[i].y) < mn) ^ user.cpp:82:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (j+1 < B.size() && abs(B[j+1].y-A[i].y) < mn) ^ user.cpp: In function ‘int main()’: user.cpp:96: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:97:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:99: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
18ms624kbOk10
28ms624kbIncorect0
3336ms1104kbIncorect0
4340ms1124kbOk10
5256ms1960kbKilled by signal 11(SIGSEGV).0
6376ms2620kbKilled by signal 11(SIGSEGV).0
7Depăşit4104kbTime limit exceeded.0
8320ms4780kbKilled by signal 11(SIGSEGV).0
9Depăşit4800kbTime limit exceeded.0
10356ms4780kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?