Borderou de evaluare (job #1611369)

Utilizator fluture.godlikeGafton Mihnea Alexandru fluture.godlike Data 24 februarie 2016 03:22:33
Problema Curse de cai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(in, "r", stdin); ^ user.cpp:49:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(out, "w", stdout); ^ user.cpp:50:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp: In function ‘void solve()’: user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:38:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i<= n; ++i) scanf("%d", &v1[i]); ^ user.cpp:39:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i<= n; ++i) scanf("%d", &v2[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1108ms8208kbOK100
Punctaj total100

Ceva nu functioneaza?