Borderou de evaluare (job #1265367)

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

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/cco2Gxpn.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
10ms256kbRaspuns gresit!0
20ms260kbRaspuns gresit!0
30ms264kbRaspuns gresit!0
416ms280kbRaspuns gresit!0
5Depăşit780kbTime limit exceeded.0
6Depăşit428kbTime limit exceeded.0
7Depăşit576kbTime limit exceeded.0
8Depăşit712kbTime limit exceeded.0
9Depăşit360kbTime limit exceeded.0
10Depăşit488kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?