Borderou de evaluare (job #1472247)

Utilizator cojocarugabiReality cojocarugabi Data 16 august 2015 19:15:07
Problema Puteri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void operator+=(big&, big)’: user.cpp:125:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (a.d.size() == i) a.d.push_back(0); ^ user.cpp: In function ‘big operator+(big, long long int)’: user.cpp:142:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘big operator+=(big&, long long int)’: user.cpp:146:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘void operator*=(big&, big)’: user.cpp:164:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (i + j == c.d.size()) c.d.push_back(0); ^ user.cpp: In function ‘int main()’: user.cpp:205:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puteri2.in","r",stdin); ^ user.cpp:206:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puteri2.out","w",stdout); ^ user.cpp:207:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&ts); ^ user.cpp:212:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(c+1); ^ user.cpp:221:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&sq); ^ /tmp/ccgOxZcc.o: In function `main': user.cpp:(.text.startup+0xac): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
160ms464kbOK500
2Depăşit468kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?