Borderou de evaluare (job #1389372)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 16 martie 2015 10:55:47
Problema Mesaj2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:75:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] p=urm[s[i]][p]; ^ user.cpp:48:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mesaj2.in", "r", stdin); ^ user.cpp:49:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mesaj2.out", "w", stdout); ^ user.cpp:50:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:63:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &T); ^ user.cpp:66:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccWARlNZ.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
140ms296kbOK10
2Depăşit284kbTime limit exceeded.0
3Depăşit420kbTime limit exceeded.0
4Depăşit432kbTime limit exceeded.0
5Depăşit516kbTime limit exceeded.0
6Depăşit340kbTime limit exceeded.0
7Depăşit296kbTime limit exceeded.0
8Depăşit300kbTime limit exceeded.0
9Depăşit452kbTime limit exceeded.0
10Depăşit688kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?