Pagini recente » Borderou de evaluare (job #630998) | Borderou de evaluare (job #1394837) | Borderou de evaluare (job #2972218) | Borderou de evaluare (job #409438) | Borderou de evaluare (job #1618337)
Borderou de evaluare (job #1618337)
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: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 | 3840kb | OK | 10 |
2 | 4ms | 3840kb | OK | 10 |
3 | 12ms | 3836kb | OK | 10 |
4 | 12ms | 3828kb | OK | 10 |
5 | 40ms | 4576kb | OK | 10 |
6 | 168ms | 7612kb | OK | 10 |
7 | 252ms | 9532kb | OK | 10 |
8 | 448ms | 13696kb | OK | 10 |
9 | 476ms | 14448kb | OK | 10 |
10 | 524ms | 15208kb | OK | 10 |
Punctaj total | 100 |