Borderou de evaluare (job #1716854)

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

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
10ms292kbOK10
20ms308kbOK10
30ms340kbOK10
40ms1636kbOK10
516ms4836kbOK10
636ms7120kbOK10
724ms6468kbOK10
864ms10812kbOK10
968ms11536kbOK10
10104ms13972kbOK10
Punctaj total100

Ceva nu functioneaza?