Borderou de evaluare (job #1391129)

Utilizator roxanastRoxana Stiuca roxanast Data 17 martie 2015 17:34:59
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&m); ^ user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bifo.in","r",stdin); ^ user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.cpp:26:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:32:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms456kbOK10
20ms468kbOK10
3156msDepăşitMemory limit exceeded.0
4156msDepăşitMemory limit exceeded.0
5156msDepăşitMemory limit exceeded.0
6156msDepăşitMemory limit exceeded.0
7156msDepăşitMemory limit exceeded.0
8156msDepăşitMemory limit exceeded.0
9156msDepăşitMemory limit exceeded.0
100ms460kbOK10
Punctaj total30

Ceva nu functioneaza?