Borderou de evaluare (job #1617455)

Utilizator GeorgeCalinPetruta George-Calin GeorgeCalin Data 27 februarie 2016 14:02:30
Problema Expresie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d ",&v2[1]); ^ user.cpp:22:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&v2[i]); ^ user.cpp:96:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&v[i]); ^ user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expresie.in","r",stdin); ^ user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("expresie.out","w",stdout); ^ user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&n); ^ user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&v2[1]); ^ user.cpp:22:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v2[i]); ^ user.cpp:96:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ user.cpp:78:25: warning: ‘ince’ may be used uninitialized in this function [-Wmaybe-uninitialized] v2[i]=v2[i+3]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
20ms276kbIncorect0
30ms276kbIncorect0
40ms276kbIncorect0
50ms284kbOK10
60ms280kbIncorect0
70ms284kbIncorect0
80ms280kbIncorect0
90ms288kbIncorect0
100ms280kbOK10
Punctaj total30

Ceva nu functioneaza?