Pagini recente » Borderou de evaluare (job #1528436) | Borderou de evaluare (job #1438930) | Borderou de evaluare (job #2230332) | Borderou de evaluare (job #2722149) | Borderou de evaluare (job #1618319)
Borderou de evaluare (job #1618319)
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:39:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < f[nod].size(); ++i) {
^
user.cpp:48:37: warning: right operand of comma operator has no effect [-Wunused-value]
dpRest[fiu] = dpRest[nod], p[nod];
^
user.cpp:56:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:63: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:64: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:68: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:70:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t[i]);
^
user.cpp:74:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p[i]);
^
user.cpp:81: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 | 3840kb | OK | 10 |
2 | 4ms | 3836kb | OK | 10 |
3 | 16ms | 3836kb | OK | 10 |
4 | 12ms | 3832kb | Incorect | 0 |
5 | 40ms | 4572kb | OK | 10 |
6 | 172ms | 7608kb | OK | 10 |
7 | 252ms | 9528kb | OK | 10 |
8 | 444ms | 13696kb | OK | 10 |
9 | 480ms | 14452kb | OK | 10 |
10 | 512ms | 15208kb | OK | 10 |
Punctaj total | 90 |