Borderou de evaluare (job #1398272)

Utilizator RaduToporanRadu Toporan RaduToporan Data 24 martie 2015 08:46:25
Problema Qvect Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int q2(int, int, int)’: user.cpp:26:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] int i, j, s, d, val, nr, k, ok, nr0, rez, sol; ^ user.cpp: In function ‘int main()’: user.cpp:60:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qvect.in", "r", stdin); ^ user.cpp:61:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qvect.out","w", stdout); ^ user.cpp:63:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &q); ^ user.cpp:66:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:70:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^ user.cpp:75:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &op, &x, &y); ^ user.cpp: In function ‘int q2(int, int, int)’: user.cpp:26:42: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized] int i, j, s, d, val, nr, k, ok, nr0, rez, sol; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms340kbOK5
20ms412kbOK5
352ms1012kbOK5
4248ms2220kbOK5
50ms304kbOK5
628ms652kbOK5
7296ms2220kbOK5
828ms852kbOK5
980ms1252kbOK5
10184ms1904kbOK5
11204ms2100kbOK5
12148ms1884kbOK5
13196ms2124kbOK5
14220ms2212kbOK5
15188ms2216kbOK5
16252ms2216kbOK5
17192ms1924kbOK5
18188ms1924kbOK5
19220ms2220kbOK5
20312ms2220kbOK5
Punctaj total100

Ceva nu functioneaza?