Borderou de evaluare (job #1689578)

Utilizator savinvadim1312savin vadim savinvadim1312 Data 14 aprilie 2016 12:58:49
Problema Alpin Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:16:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < strlen(buffer); i++ ){ ^ user.cpp:23:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = 0; k < strlen(buffer); k++ ){ ^ user.cpp:15:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(buffer); ^ user.cpp:21:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(buffer); ^ user.cpp: In function ‘int main()’: user.cpp:109:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alpin.in", "r", stdin); ^ user.cpp:110:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alpin.out", "w", stdout); ^ /tmp/ccBsKRLO.o: In function `citire()': user.cpp:(.text+0x18): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms572kbAlpinistul si-a indeplinit sarcina!10
24ms1012kbAlpinistul si-a indeplinit sarcina!10
328ms1524kbAlpinistul si-a indeplinit sarcina!10
4Depăşit1888kbTime limit exceeded.0
5244ms3192kbAlpinistul si-a indeplinit sarcina!10
6Depăşit2040kbTime limit exceeded.0
7Depăşit1020kbTime limit exceeded.0
8Depăşit872kbTime limit exceeded.0
9Depăşit1936kbTime limit exceeded.0
10Depăşit680kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?