Borderou de evaluare (job #1661071)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 23 martie 2016 16:38:52
Problema Alegeri Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alegeri.in","r",stdin); ^ user.cpp:32:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alegeri.out","w",stdout); ^ user.cpp:35:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d", &tests); tests ; --tests) ^ user.cpp:37:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:41:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int op; scanf("%d", &op); ^ user.cpp:42:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] if (op == 0) scanf("%d %d", &node1, &node2), cost = 0; ^ user.cpp:43:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] else scanf("%d %d %d", &node1 , &node2 , &cost); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1568ms3612kbIncorect0
Punctaj total0

Ceva nu functioneaza?