Pagini recente » Cod sursa (job #2123501) | Cod sursa (job #644142) | Cod sursa (job #927878) | Cod sursa (job #2252156) | Borderou de evaluare (job #1383485)
Borderou de evaluare (job #1383485)
Raport evaluator
Compilare:
user.cpp:6:13: warning: overflow in implicit constant conversion [-Woverflow]
#define inf 200000000000023LL
^
user.cpp:10:72: note: in expansion of macro ‘inf’
int n, m, k, l1, l2, c1, c2, d[NMAX][NMAX], vx[KMAX], vy[KMAX], minn = inf, v1, v2, nr;
^
user.cpp: In function ‘int main()’:
user.cpp:46:10: warning: overflow in implicit constant conversion [-Woverflow]
minn = inf;
^
user.cpp:50:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j< p1.size(); j++)
^
user.cpp:74:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i< p1.size(); i++)
^
user.cpp:80:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i< p2.size(); i++)
^
user.cpp:18:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^
user.cpp:19:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &l1, &c1, &l2, &c2);
^
user.cpp:22:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &vx[i], &vy[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | Okay | 10 |
2 | 0ms | 280kb | Okay | 10 |
3 | 0ms | 280kb | Okay | 10 |
4 | 0ms | 320kb | Okay | 10 |
5 | 0ms | 320kb | Okay | 10 |
6 | 0ms | 324kb | Okay | 10 |
7 | 0ms | 312kb | Okay | 10 |
8 | 0ms | 296kb | Okay | 10 |
9 | 0ms | 300kb | Okay | 10 |
10 | 0ms | 288kb | Okay | 10 |
Punctaj total | 100 |