Pagini recente » Borderou de evaluare (job #500840) | Borderou de evaluare (job #1077527) | Borderou de evaluare (job #1807177) | Borderou de evaluare (job #508526) | Borderou de evaluare (job #1885604)
Borderou de evaluare (job #1885604)
Raport evaluator
Compilare:
user.cpp: In function ‘int getInt()’:
user.cpp:34:16: warning: statement has no effect [-Wunused-value]
for (cursor; !isdigit(buf[cursor]); adv());
^
user.cpp:36:16: warning: statement has no effect [-Wunused-value]
for (cursor; isdigit(buf[cursor]); adv())
^
user.cpp: In function ‘void solve()’:
user.cpp:62:15: warning: statement has no effect [-Wunused-value]
for (j; j <= v && ves[j].y >= hes[i].y; j++)
^
user.cpp: In function ‘void adv()’:
user.cpp:28:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, DIM, 1, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:74:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hvrays.in", "r", stdin);
^
user.cpp:75:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hvrays.out", "w", stdout);
^
user.cpp:76:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, DIM, 1, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 188ms | 2932kb | OK | 100 |
Punctaj total | 100 |