Borderou de evaluare (job #1598104)

Utilizator calin1Serban Calin calin1 Data 12 februarie 2016 17:02:02
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void v1()’: user.cpp:35:25: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld ",&x); ^ user.cpp: In function ‘void citire()’: user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&k); ^ user.cpp:23:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld ",&a[i]); ^ user.cpp: In function ‘void v1()’: user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&k); ^ user.cpp:35:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld ",&x); ^ user.cpp: In function ‘int main()’: user.cpp:98: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:99: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:101:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms228kbLungimi invalide in OUTPUT0
20ms248kbCorect5
30ms252kbCorect5
40ms256kbCorect5
50ms252kbCorect5
60ms256kbCorect5
70ms252kbCorect5
80ms248kbCorect !5
90ms252kbCorect !5
100ms228kbLungimi invalide in OUTPUT0
110ms228kbLungimi invalide in OUTPUT0
120ms252kblungimile formeaza triunghi !0
130ms256kblungimile formeaza triunghi !0
140ms252kbCorect !5
150ms252kblungimile formeaza triunghi !0
160ms248kbCorect !5
170ms224kbLungimi invalide in OUTPUT0
180ms252kbCorect !5
190ms224kbLungimi invalide in OUTPUT0
200ms248kbCorect !5
Punctaj total60

Ceva nu functioneaza?