Pagini recente » Borderou de evaluare (job #3164112) | Borderou de evaluare (job #2214840) | Borderou de evaluare (job #2821515) | Borderou de evaluare (job #24801) | Borderou de evaluare (job #1882464)
Borderou de evaluare (job #1882464)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:27: warning: narrowing conversion of ‘l’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
v[n1].push_back({n2,l});
^
user.cpp:35:27: warning: narrowing conversion of ‘l’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
v[n2].push_back({n1,l});
^
user.cpp:51:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0;i < v[nod].size(); i++){
^
user.cpp:59:38: warning: narrowing conversion of ‘l’ from ‘long long int’ to ‘int’ inside { } [-Wnarrowing]
heap.push({v[nod][i].node, l});
^
user.cpp:27:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d%d",&n,&m,&k);
^
user.cpp:29:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&nod);
^
user.cpp:33:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d%lld",&n1,&n2,&l);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 732kb | OK | 10 |
2 | 4ms | 828kb | OK | 10 |
3 | 12ms | 1120kb | OK | 10 |
4 | 0ms | 708kb | OK | 10 |
5 | 28ms | 1604kb | OK | 10 |
6 | 56ms | 2344kb | OK | 10 |
7 | 4ms | 884kb | OK | 10 |
8 | 12ms | 1132kb | OK | 10 |
9 | 44ms | 1888kb | OK | 10 |
10 | 104ms | 3228kb | OK | 10 |
Punctaj total | 100 |