Borderou de evaluare (job #1400416)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 25 martie 2015 11:50:45
Problema Logs Status done
Runda miercuri_10 Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.in", "r", stdin); ^ user.cpp:29:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.out", "w", stdout); ^ user.cpp:30:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &m); ^ user.cpp:35:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccVNKhj3.o: In function `main': user.cpp:(.text.startup+0xb8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
232ms288kbOK10
3120ms284kbOK10
4Depăşit260kbTime limit exceeded.0
5492ms288kbOK10
6Depăşit260kbTime limit exceeded.0
7Depăşit256kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit256kbTime limit exceeded.0
10Depăşit256kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?