Borderou de evaluare (job #1999526)

Utilizator Alex_AeleneiAlex Aelenei Ioan Alex_Aelenei Data 11 iulie 2017 13:20:39
Problema Paduri de multimi disjuncte Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int un(int, int)’: user.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disjoint.in", "r", stdin); ^ user.cpp:36:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disjoint.out", "w", stdout); ^ user.cpp:38:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:46:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nr); ^ user.cpp:47:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &u, &v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK1010
20ms252kbOK1010
30ms260kbOK1010
40ms268kbOK1010
54ms268kbOK1030
672ms648kbOK10
772ms648kbOK10
876ms804kbOK1010
936ms572kbOK1010
1080ms1036kbOK1010
Punctaj total100

Ceva nu functioneaza?