Borderou de evaluare (job #1187497)

Utilizator UPB_MIREA_AVRAM_BOACAUPB ShiftMyBits UPB_MIREA_AVRAM_BOACA Data 18 mai 2014 11:17:36
Problema Nu stiu Status done
Runda ONIS 2014, Runda Finala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int count(int, int)’: user.cpp:22:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < tree[node].size(); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:59:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < solution.size(); ++i) ^ user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nustiu.in", "r", stdin); ^ user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nustiu.out", "w", stdout); ^ user.cpp:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:53:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms808kbOK100
Punctaj total100

Ceva nu functioneaza?