Borderou de evaluare (job #1716853)

Utilizator giotoPopescu Ioan gioto Data 13 iunie 2016 20:23:35
Problema Recurenta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", a[a[0]]); ^ user.cpp:53:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", a[i]); ^ user.cpp:61:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", a[i]); ^ user.cpp:16:9: warning: unused variable ‘aux’ [-Wunused-variable] int aux=k-1; ^ user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("recurenta.in", "r", stdin); ^ user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("recurenta.out", "w", stdout); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms300kbOK10
30ms332kbOK10
40ms1444kbOK10
516ms4188kbOK10
632ms6148kbOK10
724ms5588kbOK10
864ms9308kbOK10
968ms9932kbOK10
10104ms11992kbKilled by signal 11(SIGSEGV).0
Punctaj total90

Ceva nu functioneaza?