Nu aveti permisiuni pentru a descarca fisierul grader_eval.cpp
Borderou de evaluare (job #1329416)
| Utilizator | Data | 29 ianuarie 2015 14:42:14 | |
|---|---|---|---|
| Problema | Zoo | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 10 | ||
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: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;
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 1904kb | Incorect | 0 |
| 2 | 0ms | 1884kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 4ms | 2140kb | OK | 10 |
| 4 | 12ms | 6000kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 48ms | 14380kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 184ms | 7132kb | Incorect | 0 |
| 7 | 216ms | 7648kb | Incorect | 0 |
| 8 | 96ms | 5988kb | Incorect | 0 |
| 9 | 184ms | 7132kb | Incorect | 0 |
| 10 | 164ms | 6064kb | Incorect | 0 |
| Punctaj total | 10 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
