Borderou de evaluare (job #1441653)

Utilizator PenReturnedIsUNIBUC ion824 mathboy andreiv PenReturnedIs Data 24 mai 2015 11:45:31
Problema Comentariu Status done
Runda ONIS 2015, Runda Finala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int get_worst_pos(int)’: user.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int get_best_pos(int)’: user.cpp:23:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int get_worst_place(int)’: user.cpp:34:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int get_best_place(int)’: user.cpp:45:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:51:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("comentariu.in", "r", stdin); ^ user.cpp:52:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("comentariu.out", "w", stdout); ^ user.cpp:53:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:56:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:58:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a[i], &b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13748ms264kbIncorect0
Punctaj total0

Ceva nu functioneaza?