Borderou de evaluare (job #1598021)

Utilizator stefanchistefan chiper stefanchi Data 12 februarie 2016 15:50:55
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 main()’: user.cpp:32:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d ",&l); ^ user.cpp:24: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:25: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:26: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:32:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&l); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbLungimi invalide in OUTPUT0
20ms428kbCorect5
30ms428kbCorect5
40ms428kbCorect5
50ms428kbCorect5
60ms432kbCorect5
70ms428kbCorect5
80ms404kbLungimi invalide in OUTPUT0
90ms404kbLungimi invalide in OUTPUT0
100ms408kbLungimi invalide in OUTPUT0
110ms400kbLungimi invalide in OUTPUT0
120ms400kbLungimi invalide in OUTPUT0
130ms404kbLungimi invalide in OUTPUT0
140ms404kbLungimi invalide in OUTPUT0
150ms400kbLungimi invalide in OUTPUT0
160ms408kbLungimi invalide in OUTPUT0
170ms404kbLungimi invalide in OUTPUT0
180ms408kbLungimi invalide in OUTPUT0
190ms400kbLungimi invalide in OUTPUT0
200ms400kbLungimi invalide in OUTPUT0
Punctaj total30

Ceva nu functioneaza?