Borderou de evaluare (job #2174562)

Utilizator cristina-criCristina cristina-cri Data 16 martie 2018 12:34:53
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:87:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &a, &b); ^ user.cpp:87:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:80:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pinex.in", "r", stdin); ^ user.cpp:81:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pinex.out", "w", stdout); ^ user.cpp:83:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:87:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms2400kbOK1010
212ms2396kbOK1010
312ms2392kbOK1010
452ms2404kbOK1010
560ms2396kbOK1010
696ms2408kbOK1010
764ms2392kbOK1010
8Depăşit1244kbTime limit exceeded.00
9Depăşit1232kbTime limit exceeded.0
10Depăşit1224kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?