Pagini recente » Borderou de evaluare (job #2692340) | Borderou de evaluare (job #962257) | Borderou de evaluare (job #973104) | Borderou de evaluare (job #2001402) | Borderou de evaluare (job #919658)
Borderou de evaluare (job #919658)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: In function ‘void print()’:
user.cpp:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp: In function ‘bool lcs(int, int)’:
user.cpp:39: warning: missing braces around initializer for ‘int [101]’
user.cpp:47: warning: array subscript has type ‘char’
user.cpp:47: warning: array subscript has type ‘char’
In file included from /usr/include/stdio.h:910,
from /usr/include/c++/4.4/cstdio:45,
from user.cpp:2:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:20:
/usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
/tmp/ccX8qZPp.o: In function `main':
user.cpp:(.text+0x7e): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 424kb | OK | 10 | 20 |
| 2 | 4ms | 436kb | OK | 10 |
| 3 | 4ms | 428kb | OK | 10 | 0 |
| 4 | 4ms | 420kb | OK | 10 |
| 5 | 12ms | 436kb | Incorect | 0 |
| 6 | 12ms | 436kb | Incorect | 0 |
| 7 | 8ms | 436kb | Incorect | 0 | 0 |
| 8 | Depăşit | 424kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 468kb | Time limit exceeded. | 0 |
| 10 | 4ms | 416kb | OK | 10 |
| Punctaj total | 20 |