Borderou de evaluare (job #1650525)

Utilizator JokesWarMihai Baruta JokesWar Data 11 martie 2016 18:55:29
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d %d", &v, &n, &k); ^ user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:18:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &x); ^ user.cpp:31:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", a[i]); ^ user.cpp:37:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &a[i]); ^ user.cpp:46:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", a[i]); ^ user.cpp:7:40: 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:8:42: 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:12:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &v, &n, &k); ^ user.cpp:18:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:37:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbLungimi invalide in OUTPUT0
20ms256kbCorect5
30ms252kbLungimi invalide in OUTPUT0
40ms260kbCorect5
50ms260kbCorect5
60ms252kbCorect5
70ms252kbCorect5
80ms260kbLungimi invalide in OUTPUT0
90ms260kblungimile formeaza triunghi !0
100ms252kblungimile formeaza triunghi !0
110ms260kbCorect !5
120ms256kblungimile formeaza triunghi !0
130ms256kblungimile formeaza triunghi !0
140ms260kbLungimi invalide in OUTPUT0
150ms252kblungimile formeaza triunghi !0
160ms260kbLungimi invalide in OUTPUT0
170ms256kbLungimi invalide in OUTPUT0
180ms256kbLungimi invalide in OUTPUT0
190ms260kbCorect !5
200ms256kblungimile formeaza triunghi !0
Punctaj total35

Ceva nu functioneaza?