Borderou de evaluare (job #2206436)

Utilizator Stefan_RaduStefan Radu Stefan_Radu Data 22 mai 2018 18:21:08
Problema Dtcsu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ("%ld", &x); ^ user.cpp:30:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf ("%ld", &x); ^ user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("dtcsu.in", "r", stdin); ^ user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("dtcsu.out", "w", stdout); ^ user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%ld", &x); ^ user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &q); ^ user.cpp:30:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%ld", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12048ms904kbIncorect0
22708ms900kbIncorect0
32596ms900kbIncorect0
42444ms896kbIncorect0
52240ms900kbIncorect0
Punctaj total0

Ceva nu functioneaza?