Pagini recente » Borderou de evaluare (job #1378185) | Borderou de evaluare (job #2699258) | Cod sursa (job #2155698) | Borderou de evaluare (job #2683681) | Borderou de evaluare (job #1882436)
Borderou de evaluare (job #1882436)
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 | 732kb | Incorect | 0 |
| 2 | 4ms | 832kb | Incorect | 0 |
| 3 | 12ms | 1120kb | Incorect | 0 |
| 4 | 0ms | 708kb | Incorect | 0 |
| 5 | 32ms | 1600kb | Incorect | 0 |
| 6 | 60ms | 2340kb | Incorect | 0 |
| 7 | 4ms | 876kb | OK | 10 |
| 8 | 12ms | 1128kb | Incorect | 0 |
| 9 | 40ms | 1884kb | Incorect | 0 |
| 10 | 104ms | 3232kb | Incorect | 0 |
| Punctaj total | 10 |