Borderou de evaluare (job #1520293)

Utilizator SilviuIIon Silviu SilviuI Data 8 noiembrie 2015 16:24:09
Problema Per Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("per.in","r",stdin); ^ user.cpp:10:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("per.out","w",stdout); ^ user.cpp:11:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ",&n,&k); gets(s+1); val[0]=1; ^ user.cpp:11:33: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ",&n,&k); gets(s+1); val[0]=1; ^ /tmp/ccseT4PL.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms268kbOK100
2Depăşit292kbTime limit exceeded.0
3Depăşit288kbTime limit exceeded.0
4404ms316kbOK10
5Depăşit284kbTime limit exceeded.0
6Depăşit288kbTime limit exceeded.0
7Depăşit288kbTime limit exceeded.0
8Depăşit284kbTime limit exceeded.0
9Depăşit288kbTime limit exceeded.0
100ms268kbOK10
Punctaj total0

Ceva nu functioneaza?