Borderou de evaluare (job #1712900)

Utilizator AndreiRSStatescu Andrei Rares AndreiRS Data 4 iunie 2016 02:44:50
Problema Tribut Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int BF()’: user.cpp:10:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define sz size() ^ user.cpp:35:32: note: in expansion of macro ‘sz’ for (j = 0; j < G[nod].sz; j++) ^ user.cpp: In function ‘int main()’: user.cpp:10:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define sz size() ^ user.cpp:102:38: note: in expansion of macro ‘sz’ for (int i = 0; i < G[N].sz; i++) ^ user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tribut.in", "r", stdin); ^ user.cpp:51:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tribut.out", "w", stdout); ^ user.cpp:59:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &test_cnt); ^ user.cpp:63:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &system_cnt); ^ user.cpp:64:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &union_cnt); ^ user.cpp:76:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cost); ^ user.cpp:83:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cnt); ^ user.cpp:84:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cost); ^ user.cpp:91:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &system); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms576kbOK100
Punctaj total100

Ceva nu functioneaza?