Borderou de evaluare (job #1252960)

Utilizator andreeainfo_dAndreea Dutulescu andreeainfo_d Data 31 octombrie 2014 17:16:52
Problema Parantezare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<strlen(s);i++) ^ user.cpp:25:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<strlen(s1);i++) ^ user.cpp:7:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("parantezare.in","r",stdin); ^ user.cpp:8:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("parantezare.out","w",stdout); ^ user.cpp:9:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:23:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&m); ^ user.cpp:24:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s1); ^ /tmp/ccBWTTtS.o: In function `main': user.cpp:(.text.startup+0x57): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms264kbOK10
30ms268kbOK10
40ms264kbOK10
50ms264kbOK10
60ms268kbOK10
78ms300kbOK10
812ms308kbOK10
9Depăşit308kbTime limit exceeded.0
10Depăşit300kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?