Borderou de evaluare (job #1412176)

Utilizator alexndru.enacheiumei fhd alexndru.enache Data 1 aprilie 2015 10:12:21
Problema Buline Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:66: warning: variable ‘drm2’ set but not used [-Wunused-but-set-variable] int n, i, x, y, st, stm1, drm1, s, smax1, smin, smax2, stm2, drm2, stot; ^ user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("buline.in", "r", stdin); ^ user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("buline.out", "w", stdout); ^ user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:13:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ user.cpp:47:12: warning: ‘stm2’ may be used uninitialized in this function [-Wmaybe-uninitialized] stm2 ++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK!10
20ms252kbRaspuns gresit!0
30ms264kbRaspuns gresit!0
44ms308kbRaspuns gresit!0
512ms372kbRaspuns gresit!0
624ms500kbRaspuns gresit!0
736ms636kbRaspuns gresit!0
856ms828kbRaspuns gresit!0
964ms924kbRaspuns gresit!0
1076ms1024kbRaspuns gresit!0
Punctaj total10

Ceva nu functioneaza?