Pagini recente » Borderou de evaluare (job #475346) | Borderou de evaluare (job #1433538) | Borderou de evaluare (job #1559932) | Borderou de evaluare (job #2063283) | Borderou de evaluare (job #1500975)
Borderou de evaluare (job #1500975)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d" , &cost[i]);
^
user.cpp:46:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0 ; j < v[x].size() ; ++j) {
^
user.cpp: In function ‘void solve(int)’:
user.cpp:83:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < v[nod].size() ; ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mvc.in" , "r" , stdin);
^
user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mvc.out" , "w" , stdout);
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
user.cpp:29:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &cost[i]);
^
user.cpp:33:33: 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 | 1472kb | OK | 10 |
2 | 0ms | 1464kb | OK | 10 |
3 | 0ms | 1472kb | OK | 10 |
4 | 4ms | 1532kb | OK | 10 |
5 | 12ms | 1732kb | OK | 10 |
6 | 28ms | 2140kb | OK | 10 |
7 | 112ms | 3764kb | OK | 10 |
8 | 268ms | 6212kb | OK | 10 |
9 | 284ms | 7268kb | OK | 10 |
10 | 224ms | 4628kb | OK | 10 |
Punctaj total | 100 |