Pagini recente » Borderou de evaluare (job #1401825) | Borderou de evaluare (job #2095781) | Borderou de evaluare (job #2899825) | Borderou de evaluare (job #2731931) | Borderou de evaluare (job #1329379)
Borderou de evaluare (job #1329379)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int, int, int, int, int)’:
user.cpp:127:21: warning: unused variable ‘numst’ [-Wunused-variable]
int m, ans = 0, numst = 0, nf1, nf2;
^
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:212:38: warning: ‘f2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ans = query (1, 1, n, f1, f2);
^
user.cpp:212:38: warning: ‘f1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
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 | 4ms | 4156kb | Incorect | 0 |
| 2 | 4ms | 4144kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 8ms | 4352kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 16ms | 8256kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 52ms | 16640kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 188ms | 9396kb | Incorect | 0 |
| 7 | 216ms | 10024kb | Incorect | 0 |
| 8 | 100ms | 8248kb | Incorect | 0 |
| 9 | 184ms | 9388kb | Incorect | 0 |
| 10 | 164ms | 8440kb | Incorect | 0 |
| Punctaj total | 0 |