Pagini recente » Borderou de evaluare (job #3200994) | Borderou de evaluare (job #2403914) | Borderou de evaluare (job #1133793) | Borderou de evaluare (job #937657) | Borderou de evaluare (job #1756732)
Borderou de evaluare (job #1756732)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:20:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semafoare.in", "r", stdin);
^
user.cpp:21:29: 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:23:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %c\n", &xs, &ys, &c);
^
user.cpp:33:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &xd, &yd);
^
user.cpp:36:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:109:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semafoare.out", "w", stdout);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘void read()’ at user.cpp:36:19:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccyxpKvt.o: In function `read()':
user.cpp:(.text+0xf4): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 460kb | Incorect | 0 | 0 |
2 | 0ms | 452kb | Incorect | 0 |
3 | 0ms | 456kb | Incorect | 0 | 0 |
4 | 0ms | 452kb | Incorect | 0 |
5 | 0ms | 560kb | Incorect | 0 | 0 |
6 | 0ms | 556kb | Incorect | 0 |
7 | 0ms | 556kb | Incorect | 0 | 0 |
8 | 0ms | 560kb | Incorect | 0 |
9 | 0ms | 552kb | Incorect | 0 | 0 |
10 | 0ms | 552kb | Incorect | 0 |
11 | 4ms | 932kb | Incorect | 0 | 0 |
12 | 4ms | 932kb | Incorect | 0 |
13 | 4ms | 936kb | Incorect | 0 | 0 |
14 | 8ms | 1196kb | Incorect | 0 |
15 | 8ms | 1204kb | Incorect | 0 | 0 |
16 | 8ms | 1196kb | Incorect | 0 |
17 | 8ms | 1196kb | Incorect | 0 | 0 |
18 | 8ms | 1196kb | Incorect | 0 |
19 | 8ms | 1204kb | Incorect | 0 | 0 |
20 | 8ms | 1204kb | Incorect | 0 |
Punctaj total | 0 |