Pagini recente » Borderou de evaluare (job #1975693) | Borderou de evaluare (job #2614882) | Borderou de evaluare (job #2060265) | Borderou de evaluare (job #1183362) | Borderou de evaluare (job #2227053)
Borderou de evaluare (job #2227053)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int, int, int)’:
user.cpp:73:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans[nod].size(); ++i) {
~~^~~~~~~~~~~~~~~~~
user.cpp:90:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < ans[nod].size(); ++j)
~~^~~~~~~~~~~~~~~~~
user.cpp: In function ‘void getSol(int, int, int, int)’:
user.cpp:118:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans[nod].size(); ++i)
~~^~~~~~~~~~~~~~~~~
user.cpp:120:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans[nod].size(); ++i)
~~^~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:163:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (auto it = 0; it < ans.size(); ++it) {
~~~^~~~~~~~~~~~
user.cpp:143:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ro.in", "r", stdin);
^
user.cpp:144:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ro.out", "w", stdout);
^
user.cpp:148: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:150:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:154: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 | 0ms | 3464kb | the total sum is too large :( | 0 |
2 | 4ms | 9656kb | the selected cities have a different total sum than the one you specified | 0 |
3 | 12ms | 11928kb | the selected cities have a different total sum than the one you specified | 0 |
4 | 108ms | 16276kb | the selected cities have a different total sum than the one you specified | 0 |
5 | 172ms | 16624kb | the selected cities have a different total sum than the one you specified | 0 |
6 | 60ms | 14700kb | the total sum is too large :( | 0 |
7 | 24ms | 12480kb | the total sum is too large :( | 0 |
8 | 40ms | 13840kb | the total sum is too large :( | 0 |
9 | 112ms | 16636kb | the total sum is too large :( | 0 |
10 | 112ms | 16836kb | the total sum is too large :( | 0 |
11 | 120ms | 15040kb | ok | 5 |
12 | 60ms | 25600kb | the total sum is too large :( | 0 |
13 | 4ms | 11704kb | the total sum is too large :( | 0 |
14 | 8ms | 12360kb | the total sum is too large :( | 0 |
15 | 32ms | 18948kb | ok | 5 |
16 | 4ms | 9648kb | the total sum is too large :( | 0 |
17 | 40ms | 16372kb | the total sum is too large :( | 0 |
18 | 32ms | 14700kb | the selected cities have a different total sum than the one you specified | 0 |
19 | 0ms | 3464kb | the total sum is too large :( | 0 |
20 | 4ms | 5536kb | the total sum is too large :( | 0 |
Punctaj total | 10 |