Borderou de evaluare (job #1651904)

Utilizator JokesWarMihai Baruta JokesWar Data 14 martie 2016 10:16:20
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18: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:18:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:18:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:45:39: warning: repeated ' ' flag in format [-Wformat=] printf("% lld ", a[i]); ^ user.cpp:45:39: warning: repeated ' ' flag in format [-Wformat=] user.cpp:45:39: warning: repeated ' ' flag in format [-Wformat=] user.cpp:45:39: warning: repeated ' ' flag in format [-Wformat=] user.cpp:45:39: warning: repeated ' ' flag in format [-Wformat=] user.cpp:60:34: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] e[m1] |= (1 << m2+1); ^ user.cpp:68:38: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] if(e[i] & (1 << j+1) != 0) ^ user.cpp:68:42: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if(e[i] & (1 << j+1) != 0) ^ user.cpp:86:34: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] e[m1] |= (1 << m2+1); ^ user.cpp:13: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:14: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:18: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:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &x); ^ user.cpp:44:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbKilled by signal 11(SIGSEGV).0
20ms260kbCorect5
30ms260kbCorect5
40ms252kbCorect5
50ms256kbCorect5
60ms256kbCorect5
70ms252kbCorect5
80ms252kbKilled by signal 11(SIGSEGV).0
90ms256kbKilled by signal 11(SIGSEGV).0
100ms260kblungimile formeaza triunghi !0
110ms268kbKilled by signal 11(SIGSEGV).0
120ms308kblungimile formeaza triunghi !0
130ms256kblungimile formeaza triunghi !0
140ms260kbKilled by signal 11(SIGSEGV).0
150ms248kbKilled by signal 11(SIGSEGV).0
160ms252kbKilled by signal 11(SIGSEGV).0
1740ms256kbLungimi invalide in OUTPUT0
180ms256kbKilled by signal 11(SIGSEGV).0
190ms268kbKilled by signal 11(SIGSEGV).0
200ms256kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?