Pagini recente » Borderou de evaluare (job #3177786) | Borderou de evaluare (job #2523161) | Borderou de evaluare (job #2308169) | Borderou de evaluare (job #1780324) | Borderou de evaluare (job #1329413)
Borderou de evaluare (job #1329413)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int, int, int, int, int)’:
user.cpp:134:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (f1 < 0 || (f1 >= 0 && f1 < aint [node].v.size () && aint [node].v [f1].y < yy1 )) {
^
user.cpp:136:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (f1 >= aint [node].v.size ())
^
user.cpp:127:21: warning: unused variable ‘numst’ [-Wunused-variable]
int m, ans = 0, numst = 0, nf1, nf2;
^
user.cpp: In function ‘int main()’:
user.cpp:166:23: warning: variable ‘f1’ set but not used [-Wunused-but-set-variable]
int i, ans, k, m, f1, f2, st, dr;
^
user.cpp: In member function ‘void Myifstream::advance()’:
user.cpp:46:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread (buffer, 1, SIZE, input);
^
user.cpp: In constructor ‘Myifstream::Myifstream(const char*)’:
user.cpp:53:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread (buffer, 1, SIZE, input);
^
user.cpp: In member function ‘Myifstream& Myifstream::operator>>(int&)’:
user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (semn == '-')
^
user.cpp: In function ‘int main()’:
user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:57:18: note: ‘semn’ was declared here
char semn;
^
user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (semn == '-')
^
user.cpp:57:18: note: ‘semn’ was declared here
char semn;
^
user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (semn == '-')
^
user.cpp:57:18: note: ‘semn’ was declared here
char semn;
^
user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (semn == '-')
^
user.cpp:57:18: note: ‘semn’ was declared here
char semn;
^
user.cpp:63:13: warning: ‘semn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1900kb | Incorect | 0 |
| 2 | 0ms | 1896kb | Incorect | 0 |
| 3 | 4ms | 2136kb | OK | 10 |
| 4 | 28ms | 5880kb | Incorect | 0 |
| 5 | 88ms | 6064kb | Incorect | 0 |
| 6 | 88ms | 7132kb | Incorect | 0 |
| 7 | 112ms | 7648kb | Incorect | 0 |
| 8 | 56ms | 5988kb | Incorect | 0 |
| 9 | 112ms | 7128kb | Incorect | 0 |
| 10 | 124ms | 6064kb | Incorect | 0 |
| Punctaj total | 10 |