Borderou de evaluare (job #1709632)

Utilizator hrazvanHarsan Razvan hrazvan Data 28 mai 2016 13:08:46
Problema Revolta Status done
Runda ONIS 2016 - Runda - 2 - ACM ICPC Romanian Programming Contest Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void calc_centr(int*)’: user.cpp:131:26: warning: variable ‘pdr’ set but not used [-Wunused-but-set-variable] int i, dr = 0, pc = 0, pdr = 0, m, mp; ^ user.cpp: In function ‘int main()’: user.cpp:155:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &t); ^ user.cpp:157:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.cpp:161:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d%d", &a, &b); ^ user.cpp:98:14: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized] dist[p] = 0; ^ user.cpp:89:19: note: ‘p’ was declared here int i, mx = -1, p, p2; ^ user.cpp:111:18: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] p2 = prev[p2]; ^ user.cpp:89:22: note: ‘p2’ was declared here int i, mx = -1, p, p2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1440ms8580kbIncorect0
Punctaj total0

Ceva nu functioneaza?