Borderou de evaluare (job #1265368)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 17 noiembrie 2014 10:43:00
Problema String Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("string.in", "r", stdin); ^ user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("string.out", "w", stdout); ^ user.cpp:53:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:54:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/cchQBZkY.o: In function `main': user.cpp:(.text.startup+0x73): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK!10
20ms268kbOK!10
30ms264kbOK!10
416ms276kbOK!10
5Depăşit780kbTime limit exceeded.0
6Depăşit428kbTime limit exceeded.0
7Depăşit572kbTime limit exceeded.0
8Depăşit712kbTime limit exceeded.0
9Depăşit356kbTime limit exceeded.0
10Depăşit484kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?