Borderou de evaluare (job #1363237)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 26 februarie 2015 20:14:56
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int getTime()’: user.cpp:34:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(s); i++) ^ user.cpp: In function ‘void solve()’: user.cpp:47:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(s); i++) ^ user.cpp: In function ‘int main()’: user.cpp:68:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reteta2.in", "r", stdin); ^ user.cpp:69:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("reteta2.out", "w", stdout); ^ user.cpp:71:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccvbqjEe.o: In function `main': user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbOK!10
20ms436kbOK!10
30ms436kbOK!10
40ms436kbOK!10
50ms436kbOK!10
60ms448kbOK!10
70ms440kbOK!10
80ms436kbOK!10
90ms440kbOK!10
100ms432kbOK!10
Punctaj total100

Ceva nu functioneaza?