Borderou de evaluare (job #2027480)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 26 septembrie 2017 10:04:27
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in", "r", stdin); ^ user.cpp:33:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out", "w", stdout); ^ user.cpp:36:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i-1]); ^ user.cpp:46:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms292kbOK10
3668ms440kbOK10
4620ms292kbOK10
5100msDepăşitMemory limit exceeded.0
660msDepăşitMemory limit exceeded.0
7752msDepăşitMemory limit exceeded.0
8752msDepăşitMemory limit exceeded.0
9752msDepăşitMemory limit exceeded.0
10732msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?