Borderou de evaluare (job #1661076)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 23 martie 2016 16:44:31
Problema Alegeri Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28: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:29: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:32: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:34: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:38: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:39: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:40: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
1592ms3708kbOK100
Punctaj total100

Ceva nu functioneaza?