Borderou de evaluare (job #2089174)

Utilizator Anamaria121421Balacescu Anamaria Anamaria121421 Data 16 decembrie 2017 11:23:17
Problema Lant Aditiv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:26:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", k); ^ user.cpp:29:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] if(v[i]!=v[i+1]) printf("%d ", v[i]); ^ user.cpp:30:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", v[k]); ^ user.cpp:21:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lantaditiv.in", "r", stdin); ^ user.cpp:22:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lantaditiv.out", "w", stdout); ^ user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbFisier de iesire corupt!0
20ms436kbFisier de iesire corupt!0
30ms436kbRaspuns gresit!0
40ms444kbRaspuns gresit!0
50ms672kbRaspuns gresit!0
68ms1144kbRaspuns gresit!0
70ms444kbRaspuns gresit!0
80ms440kbRaspuns gresit!0
90ms444kbRaspuns gresit!0
100ms440kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?