Pagini recente » Borderou de evaluare (job #14018) | Borderou de evaluare (job #1362805) | Borderou de evaluare (job #1920286) | Borderou de evaluare (job #570073) | Borderou de evaluare (job #1372042)
Borderou de evaluare (job #1372042)
Raport evaluator
Compilare:
user.cpp: In function ‘int verific(int)’:
user.cpp:55:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[st.nod].size (); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:82:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf ("%d", &bun[i]);
^
user.cpp:76:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("lanterna.in", "r", stdin);
^
user.cpp:77:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("lanterna.out", "w", stdout);
^
user.cpp:80:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &k);
^
user.cpp:82:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &bun[i]);
^
user.cpp:83:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &m);
^
user.cpp:87:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d%d", &x, &y, &timp, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 512kb | OK | 10 |
2 | 24ms | 700kb | OK | 10 |
3 | 0ms | 508kb | OK | 10 |
4 | 96ms | 616kb | OK | 10 |
5 | 76ms | 704kb | OK | 10 |
6 | 68ms | 692kb | OK | 10 |
7 | 92ms | 608kb | OK | 10 |
8 | 0ms | 496kb | OK | 10 |
9 | 0ms | 484kb | OK | 10 |
10 | 8ms | 516kb | OK | 10 |
Punctaj total | 100 |