Borderou de evaluare (job #1360743)

Utilizator margikiMargeloiu Andrei margiki Data 25 februarie 2015 17:34:02
Problema Cuiburi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:65:60: warning: format ‘%f’ expects argument of type ‘float*’, but argument 4 has type ‘double*’ [-Wformat=] scanf ("%d%d%f", &a[i].x, &a[i].y, &a[i].r); a[i].tip=1; ^ user.cpp:54:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cuiburi.in", "r", stdin); ^ user.cpp:55:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cuiburi.out", "w", stdout); ^ user.cpp:56:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:59:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &tip); ^ user.cpp:61:81: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d", &a[i].x, &a[i].y, &a[i].x2, &a[i].y2); a[i].tip=0; ^ user.cpp:65:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%f", &a[i].x, &a[i].y, &a[i].r); a[i].tip=1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbIncorect0
20ms276kbOK10
30ms304kbIncorect0
48ms320kbIncorect0
54ms308kbOK10
624ms324kbOK10
7188ms376kbIncorect0
8184ms372kbIncorect0
9184ms380kbIncorect0
10180ms376kbIncorect0
Punctaj total30

Ceva nu functioneaza?