Borderou de evaluare (job #1307253)

Utilizator ionutpop118Pop Ioan Cristian ionutpop118 Data 1 ianuarie 2015 19:07:39
Problema Fsb Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:11: warning: unused variable ‘x’ [-Wunused-variable] int n,x,s; ^ user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fsb.in","r",stdin); ^ user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fsb.out","w",stdout); ^ user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:11:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir); ^ /tmp/cc81M2jq.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms268kbOK10
30ms280kbOK10
4Depăşit348kbTime limit exceeded.0
5Depăşit680kbTime limit exceeded.0
6Depăşit1120kbTime limit exceeded.0
7Depăşit1380kbTime limit exceeded.0
8Depăşit1560kbTime limit exceeded.0
9Depăşit1820kbTime limit exceeded.0
10Depăşit1984kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?