Borderou de evaluare (job #1598019)

Utilizator stefanchistefan chiper stefanchi Data 12 februarie 2016 15:48:13
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

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:17: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:31:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d ",&l); ^ user.cpp:23: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:24: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:25: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:31: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
10ms400kbLungimi invalide in OUTPUT0
20ms428kblungimile formeaza triunghi !0
30ms424kblungimile formeaza triunghi !0
40ms424kblungimile formeaza triunghi !0
50ms428kblungimile formeaza triunghi !0
60ms428kbCorect5
70ms424kblungimile formeaza triunghi !0
80ms400kbLungimi invalide in OUTPUT0
90ms400kbLungimi invalide in OUTPUT0
100ms400kbLungimi invalide in OUTPUT0
110ms404kbLungimi invalide in OUTPUT0
120ms404kbLungimi invalide in OUTPUT0
130ms404kbLungimi invalide in OUTPUT0
140ms408kbLungimi invalide in OUTPUT0
150ms400kbLungimi invalide in OUTPUT0
160ms404kbLungimi invalide in OUTPUT0
170ms404kbLungimi invalide in OUTPUT0
180ms404kbLungimi invalide in OUTPUT0
190ms404kbLungimi invalide in OUTPUT0
200ms404kbLungimi invalide in OUTPUT0
Punctaj total5

Ceva nu functioneaza?