Borderou de evaluare (job #1252601)

Utilizator costty94Duica Costinel costty94 Data 30 octombrie 2014 22:22:01
Problema Problema A Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:18: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld", p); ^ user.cpp:9:9: warning: unused variable ‘x’ [-Wunused-variable] int n, x, i, p, poz2, poz3; ^ user.cpp:6:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pba.in", "r", stdin); ^ user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pba.out", "w", stdout); ^ user.cpp:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &v[i]); ^ user.cpp:30:36: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(v[i] > max1 && i != poz3 && i != poz2) ^ user.cpp:24:18: warning: ‘poz3’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(v[i] > max2 && i != poz3) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbOK100
20ms276kbOK10
30ms276kbOK10
40ms272kbOK10
50ms284kbIncorect0
60ms352kbIncorect0
78ms476kbIncorect0
88ms564kbIncorect0
912ms664kbIncorect0
1016ms672kbIncorect0
Punctaj total0

Ceva nu functioneaza?