Borderou de evaluare (job #1560954)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 3 ianuarie 2016 15:26:53
Problema Granita Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:15: warning: unused variable ‘j’ [-Wunused-variable] int n, i, j, s, t, d, k, x, y, xx, yy; ^ user.cpp:23:21: warning: unused variable ‘t’ [-Wunused-variable] int n, i, j, s, t, d, k, x, y, xx, yy; ^ user.cpp:23:24: warning: unused variable ‘d’ [-Wunused-variable] int n, i, j, s, t, d, k, x, y, xx, yy; ^ user.cpp:23:27: warning: unused variable ‘k’ [-Wunused-variable] int n, i, j, s, t, d, k, x, y, xx, yy; ^ user.cpp:23:36: warning: unused variable ‘xx’ [-Wunused-variable] int n, i, j, s, t, d, k, x, y, xx, yy; ^ user.cpp:23:40: warning: unused variable ‘yy’ [-Wunused-variable] int n, i, j, s, t, d, k, x, y, xx, yy; ^ user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("granita.in","r",stdin); ^ user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("granita.out","w",stdout); ^ user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:26:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for( i = 1; i <= n; ++i ) scanf("%d%d",&v[i].a,&v[i].b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbOK10
20ms296kbOK10
34ms380kbOK10
412ms480kbOK10
512ms496kbOK10
68ms532kbOK10
78ms552kbOK10
88ms528kbOK10
98ms552kbOK10
1012ms428kbOK10
Punctaj total100

Ceva nu functioneaza?