Borderou de evaluare (job #1598084)

Utilizator stefanchistefan chiper stefanchi Data 12 februarie 2016 16:49:31
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void med1(long long int)’: user.cpp:9:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",x); ^ user.cpp:10:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",x); ^ user.cpp:18:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",y); ^ user.cpp: In function ‘int adaug_incep(int, int, int)’: user.cpp:29:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d %d ",y,x); ^ user.cpp:29:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d %d %d",y,x,sir1[incep]); ^ user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:36:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:44:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",element); ^ user.cpp:50:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",sir1[incep]); ^ user.cpp:54:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘void adaug_final(int)’: user.cpp:71:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",sir1[i]); ^ user.cpp:61:15: warning: unused variable ‘numar2’ [-Wunused-variable] long long numar2 = 0; ^ user.cpp: In function ‘int main()’: user.cpp:86:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d ",&l); ^ user.cpp:96:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d ",&sir1[i]); ^ user.cpp:78:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi5.in","r",stdin); ^ user.cpp:79:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi5.out","w",stdout); ^ user.cpp:80:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbLungimi invalide in OUTPUT0
20ms428kbCorect5
30ms424kbCorect5
40ms424kbCorect5
50ms432kbCorect5
60ms424kbCorect5
70ms424kbCorect5
80ms428kbLungimi invalide in OUTPUT0
90ms428kbLungimi invalide in OUTPUT0
100ms428kblungimile formeaza triunghi !0
110ms428kblungimile formeaza triunghi !0
120ms428kblungimile formeaza triunghi !0
130ms428kblungimile formeaza triunghi !0
140ms424kbLungimi invalide in OUTPUT0
150ms428kbLungimi invalide in OUTPUT0
160ms428kbLungimi invalide in OUTPUT0
170ms432kbLungimi invalide in OUTPUT0
180ms428kbLungimi invalide in OUTPUT0
190ms428kblungimile formeaza triunghi !0
200ms428kblungimile formeaza triunghi !0
Punctaj total30

Ceva nu functioneaza?