Borderou de evaluare (job #2089725)

Utilizator alexandra_paticaAndreea Alexandra Patica alexandra_patica Data 17 decembrie 2017 00:07:14
Problema Dosare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long int dfs(long long int)’: user.cpp:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i<G[x].size(); i++){ ^ user.cpp:16:25: warning: unused variable ‘Y’ [-Wunused-variable] long long y=0, k=0, Y=0; ^ user.cpp: In function ‘int main()’: user.cpp:36:21: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld", &n); ^ user.cpp:38:25: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld", &x); ^ user.cpp:42:29: warning: too many arguments for format [-Wformat-extra-args] scanf("lld", &viz[i]); ^ user.cpp:33:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dosare.in", "r", stdin); ^ user.cpp:34:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dosare.out", "w", stdout); ^ user.cpp:36:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &n); ^ user.cpp:38:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &x); ^ user.cpp:42:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("lld", &viz[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms484kbIncorect0
20ms480kbIncorect0
30ms476kbIncorect0
40ms480kbIncorect0
50ms480kbIncorect0
60ms476kbIncorect0
70ms476kbIncorect0
80ms480kbIncorect0
90ms476kbIncorect0
100ms476kbIncorect0
Punctaj total0

Ceva nu functioneaza?