Borderou de evaluare (job #1416590)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 8 aprilie 2015 15:13:04
Problema Nc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<s.size()-1;++i) printf("%d\n",s[i]); ^ user.cpp:42:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nc.in","r",stdin); ^ user.cpp:43:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("nc.out","w",stdout); ^ user.cpp:45:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(tx);ind=0;Z=strlen(tx); ^ user.cpp: In function ‘void solve()’: user.cpp:28:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(tx);ind=0; ^ user.cpp:35:50: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] if(ind==Z) Z=strlen(tx) ,ind=0, gets(tx); ^ /tmp/ccaUjmvR.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit216kbTime limit exceeded.0
2Depăşit216kbTime limit exceeded.0
3Depăşit216kbTime limit exceeded.0
4Depăşit220kbTime limit exceeded.0
5Depăşit220kbTime limit exceeded.0
6Depăşit220kbTime limit exceeded.0
7Depăşit216kbTime limit exceeded.0
8Depăşit216kbTime limit exceeded.0
9Depăşit216kbTime limit exceeded.0
10Depăşit220kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?