Pagini recente » Borderou de evaluare (job #719241) | Borderou de evaluare (job #1186419) | Borderou de evaluare (job #2639904) | Borderou de evaluare (job #2703382) | Borderou de evaluare (job #1710117)
Borderou de evaluare (job #1710117)
Raport evaluator
Compilare:
user.cpp: In function ‘int reunion(int, int)’:
user.cpp:33:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:64:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (sol.size() == N - 1) {
^
user.cpp:68:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (rez.size() == P) {
^
user.cpp:57:35: warning: unused variable ‘c’ [-Wunused-variable]
int x = it->x, y = it->y, c = it->c;
^
In file included from /usr/include/c++/4.8/cassert:43:0,
from user.cpp:5:
user.cpp:74:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(rez.size() == P);
^
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("politie.in", "r", stdin);
^
user.cpp:37:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("politie.out", "w", stdout);
^
user.cpp:39:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &N, &M, &D, &P);
^
user.cpp:44:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &x, &y, &c, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | Incorect | 0 | 0 |
2 | 0ms | 320kb | Incorect | 0 |
3 | 0ms | 336kb | Incorect | 0 |
4 | 0ms | 372kb | Incorect | 0 |
5 | 220ms | 4328kb | Incorect | 0 |
6 | 280ms | 4564kb | Incorect | 0 |
7 | 460ms | 8516kb | Incorect | 0 |
8 | 276ms | 4560kb | Incorect | 0 |
9 | 468ms | 8516kb | Incorect | 0 |
10 | 588ms | 9244kb | Incorect | 0 |
Punctaj total | 0 |