Borderou de evaluare (job #1339867)

Utilizator Walrus21andrei Walrus21 Data 11 februarie 2015 11:41:16
Problema Numar2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar2.in","r",stdin); ^ user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar2.out","w",stdout); ^ user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&M); ^ user.cpp:19:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms312kbOK10
30ms332kbOK10
448msDepăşitMemory limit exceeded.0
54msDepăşitMemory limit exceeded.0
64msDepăşitMemory limit exceeded.0
74msDepăşitMemory limit exceeded.0
84msDepăşitMemory limit exceeded.0
94msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?