Borderou de evaluare (job #1603386)

Utilizator flandreiFlavius Andrei flandrei Data 17 februarie 2016 14:29:51
Problema Rafaela Status done
Runda lot1 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void pathDecomposition()’: user.cpp:64:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < chain[i].size(); ++ j) ^ user.cpp: In function ‘int main()’: user.cpp:92:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rafaela.in", "r", stdin); ^ user.cpp:93:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rafaela.out", "w", stdout); ^ user.cpp:95:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &n, &q); ^ user.cpp:98:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &x, &y); ^ user.cpp:108:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &x); ^ user.cpp:121:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:124:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &type); ^ user.cpp:127:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i\n", &id); ^ user.cpp:136:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i\n", &nr, &id); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms9684kbOK10
212ms9700kbOK10
316ms9736kbOK10
4252ms14228kbOK10
5328ms15464kbOK10
6436ms17432kbOK10
7456ms18028kbOK10
8588ms19868kbOK10
9632ms20128kbOK10
10624ms21004kbOK10
Punctaj total100

Ceva nu functioneaza?