Pagini recente » Borderou de evaluare (job #2311847) | Borderou de evaluare (job #1918612) | Borderou de evaluare (job #849813) | Borderou de evaluare (job #532973) | Borderou de evaluare (job #1553372)
Borderou de evaluare (job #1553372)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in", "r", stdin);
^
user.cpp:12:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s1);
^
user.cpp:13:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2);
^
user.cpp: In function ‘void write(int)’:
user.cpp:65:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out", "w", stdout);
^
/tmp/cc4rq6RE.o: In function `read()':
user.cpp:(.text+0x60): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1020kb | OK | 10 |
2 | 0ms | 1020kb | Incorect | 0 |
3 | 0ms | 1064kb | Incorect | 0 |
4 | 0ms | 1064kb | Incorect | 0 |
5 | 4ms | 1580kb | Incorect | 0 |
6 | 8ms | 1952kb | Incorect | 0 |
7 | 8ms | 1868kb | Incorect | 0 |
8 | 20ms | 1940kb | Incorect | 0 |
9 | 8ms | 1908kb | Incorect | 0 |
10 | 20ms | 1876kb | Incorect | 0 |
Punctaj total | 10 |