Borderou de evaluare (job #1652376)

Utilizator JokesWarMihai Baruta JokesWar Data 14 martie 2016 22:00:46
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:38: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] e[m1] |= (1 << (2*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
10ms264kbKilled by signal 11(SIGSEGV).0
20ms256kbCorect5
30ms260kbCorect5
40ms260kbCorect5
50ms256kbCorect5
60ms260kbCorect5
70ms256kbCorect5
80ms248kbKilled by signal 11(SIGSEGV).0
90ms252kbKilled by signal 11(SIGSEGV).0
100ms260kblungimile formeaza triunghi !0
110ms264kbKilled by signal 11(SIGSEGV).0
120ms308kblungimile formeaza triunghi !0
130ms256kblungimile formeaza triunghi !0
140ms264kbKilled by signal 11(SIGSEGV).0
150ms252kbKilled by signal 11(SIGSEGV).0
160ms252kbKilled by signal 11(SIGSEGV).0
1724ms260kbLungimi invalide in OUTPUT0
180ms260kbKilled by signal 11(SIGSEGV).0
190ms264kbKilled by signal 11(SIGSEGV).0
200ms252kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?