Pagini recente » Borderou de evaluare (job #2154224) | Borderou de evaluare (job #737174) | Borderou de evaluare (job #2877475) | Borderou de evaluare (job #2223666) | Borderou de evaluare (job #1618331)
Borderou de evaluare (job #1618331)
Raport evaluator
Compilare:
user.cpp: In function ‘int build1(int)’:
user.cpp:18:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < f[nod].size(); ++i) {
^
user.cpp:23:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int build2(int)’:
user.cpp:28:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < f[nod].size(); ++i) {
^
user.cpp:40:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < f[nod].size(); ++i) {
^
user.cpp:49:37: warning: right operand of comma operator has no effect [-Wunused-value]
dpRest[fiu] = dpRest[nod], p[nod];
^
user.cpp:57:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:64:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in", "r", stdin);
^
user.cpp:65:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out", "w", stdout);
^
user.cpp:69:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:71:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t[i]);
^
user.cpp:75:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p[i]);
^
user.cpp:82:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3836kb | OK | 10 |
2 | 4ms | 3840kb | OK | 10 |
3 | 12ms | 3836kb | OK | 10 |
4 | 12ms | 3828kb | OK | 10 |
5 | 44ms | 4576kb | OK | 10 |
6 | 172ms | 7608kb | OK | 10 |
7 | 256ms | 9532kb | OK | 10 |
8 | 444ms | 13696kb | OK | 10 |
9 | 484ms | 14452kb | OK | 10 |
10 | 512ms | 15208kb | OK | 10 |
Punctaj total | 100 |