Borderou de evaluare (job #1598105)

Utilizator stefanchistefan chiper stefanchi Data 12 februarie 2016 17:02:42
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:36:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("ll%d %lld %lld",y,x,sir1[incep]); ^ user.cpp:55:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘void adaug_final(int)’: user.cpp:62:15: warning: unused variable ‘numar2’ [-Wunused-variable] long long numar2 = 0; ^ user.cpp: In function ‘int main()’: user.cpp:79: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:80: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:81:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n",&v,&n,&k); ^ user.cpp:87:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld ",&l); ^ user.cpp:97:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld ",&sir1[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbLungimi invalide in OUTPUT0
20ms436kbCorect5
30ms432kbCorect5
40ms428kbCorect5
50ms432kbCorect5
60ms432kbCorect5
70ms428kbCorect5
80ms432kbLungimi invalide in OUTPUT0
90ms436kbLungimi invalide in OUTPUT0
100ms436kblungimile formeaza triunghi !0
110ms440kblungimile formeaza triunghi !0
120ms432kblungimile formeaza triunghi !0
130ms440kblungimile formeaza triunghi !0
140ms436kbLungimi invalide in OUTPUT0
150ms436kbLungimi invalide in OUTPUT0
160ms432kbLungimi invalide in OUTPUT0
170ms436kbLungimi invalide in OUTPUT0
180ms436kbLungimi invalide in OUTPUT0
190ms436kblungimile formeaza triunghi !0
200ms440kblungimile formeaza triunghi !0
Punctaj total30

Ceva nu functioneaza?