Pagini recente » Cod sursa (job #44914) | Borderou de evaluare (job #1212083) | Cod sursa (job #39629) | Cod sursa (job #38552) | Borderou de evaluare (job #1882326)
Borderou de evaluare (job #1882326)
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:56: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 | 724kb | Incorect | 0 |
| 2 | 4ms | 828kb | Incorect | 0 |
| 3 | 12ms | 1120kb | Incorect | 0 |
| 4 | 0ms | 712kb | Incorect | 0 |
| 5 | 32ms | 1600kb | Incorect | 0 |
| 6 | 56ms | 2344kb | Incorect | 0 |
| 7 | 4ms | 880kb | OK | 10 |
| 8 | 12ms | 1136kb | Incorect | 0 |
| 9 | 44ms | 1884kb | Incorect | 0 |
| 10 | 104ms | 3228kb | Incorect | 0 |
| Punctaj total | 10 |