Borderou de evaluare (job #1598108)

Utilizator stefanchistefan chiper stefanchi Data 12 februarie 2016 17:06:08
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

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
30ms436kbCorect5
40ms428kbCorect5
50ms432kbCorect5
60ms432kbCorect5
70ms432kbCorect5
80ms436kbLungimi invalide in OUTPUT0
90ms440kbLungimi invalide in OUTPUT0
100ms436kbCorect !5
110ms436kbCorect !5
120ms436kbCorect !5
130ms440kbCorect !5
140ms440kbLungimi invalide in OUTPUT0
150ms436kbLungimi invalide in OUTPUT0
160ms432kbLungimi invalide in OUTPUT0
170ms436kbLungimi invalide in OUTPUT0
180ms436kbLungimi invalide in OUTPUT0
190ms432kbCorect !5
200ms440kbCorect !5
Punctaj total60

Ceva nu functioneaza?