Borderou de evaluare (job #1688693)

Utilizator Theodor1000Cristea Theodor Stefan Theodor1000 Data 13 aprilie 2016 17:55:50
Problema Amedie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("amedie.in", "r", stdin); ^ user.cpp:53:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("amedie.out", "w", stdout); ^ user.cpp:56:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d %d", &n, &m, &q); ^ user.cpp:62:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &v[i][j]); ^ user.cpp:82:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("\n%c", &op); ^ user.cpp:87:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ user.cpp:98:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &x); ^ user.cpp:36:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] int grp = (poz - 1) / lg + 1; ^ user.cpp:20:25: note: ‘poz’ was declared here int st = 1, dr = p, poz; ^ user.cpp:36:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] int grp = (poz - 1) / lg + 1; ^ user.cpp:20:25: note: ‘poz’ was declared here int st = 1, dr = p, poz; ^ user.cpp:109:20: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized] int x = 0, rez, sol = 2000000000; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms416kbOK10
20ms516kbOK10
30ms480kbOK10
44ms836kbOK10
536ms1960kbOK10
6268ms5180kbIncorect0
7300ms5668kbIncorect0
8364ms6176kbIncorect0
9348ms6180kbIncorect0
10356ms6180kbIncorect0
Punctaj total50

Ceva nu functioneaza?